#c021ec ≈ Electric Purple
#c021ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 75.29% red, 12.94% green and 92.55% blue; printed in CMYK it uses 18.64% cyan, 86.02% magenta, 0% yellow and 7.45% black. Its hue angle is 287°, with 84.23% saturation and 52.75% 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. Black text on this color reaches a contrast ratio of 4.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.5.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1835 |
Shades
#c021ec mixed progressively with black.
Tints
#c021ec mixed progressively with white.
Tones
#c021ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021ec {
color: #c021ec;
}
.bg-c021ec {
background-color: #c021ec;
color: #000000;
}
.border-c021ec {
border: 2px solid #c021ec;
}
:root {
--color-primary: #c021ec;
--color-primary-rgb: 192 33 236;
--color-primary-hsl: 287 84% 53%;
}
.gradient-c021ec {
background: linear-gradient(135deg, #c021ec, #ec21b2);
}
.shadow-c021ec {
box-shadow: 0 8px 24px rgb(192 33 236 / 0.35);
}
Electric Purple
#c021ec rgb(192, 33, 236) hsl(287, 84%, 53%) Electric Purple
#4dec21 rgb(77, 236, 33) hsl(107, 84%, 53%) Neon Green
#ecc021 rgb(236, 192, 33) hsl(47, 84%, 53%) Saffron
#21ecc0 rgb(33, 236, 192) hsl(167, 84%, 53%) Aquamarine