#ba02eb ≈ Electric Purple
#ba02eb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 0.78% green and 92.16% blue; printed in CMYK it uses 20.85% cyan, 99.15% magenta, 0% yellow and 7.84% black. Its hue angle is 287.38°, with 98.31% saturation and 46.47% lightness in HSL. It sits between warm and cool, and is 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.89:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.85.
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.1648 |
Shades
#ba02eb mixed progressively with black.
Tints
#ba02eb mixed progressively with white.
Tones
#ba02eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba02eb {
color: #ba02eb;
}
.bg-ba02eb {
background-color: #ba02eb;
color: #ffffff;
}
.border-ba02eb {
border: 2px solid #ba02eb;
}
:root {
--color-primary: #ba02eb;
--color-primary-rgb: 186 2 235;
--color-primary-hsl: 287 98% 46%;
}
.gradient-ba02eb {
background: linear-gradient(135deg, #ba02eb, #eb02a8);
}
.shadow-ba02eb {
box-shadow: 0 8px 24px rgb(186 2 235 / 0.35);
}
Electric Purple
#ba02eb rgb(186, 2, 235) hsl(287, 98%, 46%) Electric Purple
#33eb02 rgb(51, 235, 2) hsl(107, 98%, 46%) Lime
#ebba02 rgb(235, 186, 2) hsl(47, 98%, 46%) Saffron
#02ebba rgb(2, 235, 186) hsl(167, 98%, 46%) Aquamarine