#ba12ea ≈ Electric Purple
#ba12ea is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 7.06% green and 91.76% blue; printed in CMYK it uses 20.51% cyan, 92.31% magenta, 0% yellow and 8.24% black. Its hue angle is 286.67°, with 85.71% saturation and 49.41% 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.81:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.72.
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.1681 |
Shades
#ba12ea mixed progressively with black.
Tints
#ba12ea mixed progressively with white.
Tones
#ba12ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba12ea {
color: #ba12ea;
}
.bg-ba12ea {
background-color: #ba12ea;
color: #ffffff;
}
.border-ba12ea {
border: 2px solid #ba12ea;
}
:root {
--color-primary: #ba12ea;
--color-primary-rgb: 186 18 234;
--color-primary-hsl: 287 86% 49%;
}
.gradient-ba12ea {
background: linear-gradient(135deg, #ba12ea, #ea12ae);
}
.shadow-ba12ea {
box-shadow: 0 8px 24px rgb(186 18 234 / 0.35);
}
Electric Purple
#ba12ea rgb(186, 18, 234) hsl(287, 86%, 49%) Electric Purple
#42ea12 rgb(66, 234, 18) hsl(107, 86%, 49%) Neon Green
#eaba12 rgb(234, 186, 18) hsl(47, 86%, 49%) Saffron
#12eaba rgb(18, 234, 186) hsl(167, 86%, 49%) Aquamarine