#ba01ec ≈ Electric Purple
#ba01ec 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.39% green and 92.55% blue; printed in CMYK it uses 21.19% cyan, 99.58% magenta, 0% yellow and 7.45% black. Its hue angle is 287.23°, with 99.16% 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.88:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.74.
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.1652 |
Shades
#ba01ec mixed progressively with black.
Tints
#ba01ec mixed progressively with white.
Tones
#ba01ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba01ec {
color: #ba01ec;
}
.bg-ba01ec {
background-color: #ba01ec;
color: #ffffff;
}
.border-ba01ec {
border: 2px solid #ba01ec;
}
:root {
--color-primary: #ba01ec;
--color-primary-rgb: 186 1 236;
--color-primary-hsl: 287 99% 46%;
}
.gradient-ba01ec {
background: linear-gradient(135deg, #ba01ec, #ec01a9);
}
.shadow-ba01ec {
box-shadow: 0 8px 24px rgb(186 1 236 / 0.35);
}
Electric Purple
#ba01ec rgb(186, 1, 236) hsl(287, 99%, 46%) Electric Purple
#33ec01 rgb(51, 236, 1) hsl(107, 99%, 46%) Lime
#ecba01 rgb(236, 186, 1) hsl(47, 99%, 46%) Saffron
#01ecba rgb(1, 236, 186) hsl(167, 99%, 46%) Aquamarine