#ba0ffa ≈ Electric Purple
#ba0ffa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 5.88% green and 98.04% blue; printed in CMYK it uses 25.6% cyan, 94% magenta, 0% yellow and 1.96% black. Its hue angle is 283.66°, with 95.92% saturation and 51.96% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 4.63:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.92.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1768 |
Shades
#ba0ffa mixed progressively with black.
Tints
#ba0ffa mixed progressively with white.
Tones
#ba0ffa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba0ffa {
color: #ba0ffa;
}
.bg-ba0ffa {
background-color: #ba0ffa;
color: #ffffff;
}
.border-ba0ffa {
border: 2px solid #ba0ffa;
}
:root {
--color-primary: #ba0ffa;
--color-primary-rgb: 186 15 250;
--color-primary-hsl: 284 96% 52%;
}
.gradient-ba0ffa {
background: linear-gradient(135deg, #ba0ffa, #fa0fc4);
}
.shadow-ba0ffa {
box-shadow: 0 8px 24px rgb(186 15 250 / 0.35);
}
Electric Purple
#ba0ffa rgb(186, 15, 250) hsl(284, 96%, 52%) Electric Purple
#4ffa0f rgb(79, 250, 15) hsl(104, 96%, 52%) Harlequin
#faba0f rgb(250, 186, 15) hsl(44, 96%, 52%) Amber
#0ffaba rgb(15, 250, 186) hsl(164, 96%, 52%) Medium Spring Green