#cc02e2 ≈ Electric Purple
#cc02e2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 0.78% green and 88.63% blue; printed in CMYK it uses 9.73% cyan, 99.12% magenta, 0% yellow and 11.37% black. Its hue angle is 294.11°, with 98.25% saturation and 44.71% 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 4.56.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1837 |
Shades
#cc02e2 mixed progressively with black.
Tints
#cc02e2 mixed progressively with white.
Tones
#cc02e2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc02e2 {
color: #cc02e2;
}
.bg-cc02e2 {
background-color: #cc02e2;
color: #000000;
}
.border-cc02e2 {
border: 2px solid #cc02e2;
}
:root {
--color-primary: #cc02e2;
--color-primary-rgb: 204 2 226;
--color-primary-hsl: 294 98% 45%;
}
.gradient-cc02e2 {
background: linear-gradient(135deg, #cc02e2, #e20288);
}
.shadow-cc02e2 {
box-shadow: 0 8px 24px rgb(204 2 226 / 0.35);
}
Electric Purple
#cc02e2 rgb(204, 2, 226) hsl(294, 98%, 45%) Electric Purple
#18e202 rgb(24, 226, 2) hsl(114, 98%, 45%) Lime Green
#e2cc02 rgb(226, 204, 2) hsl(54, 98%, 45%) Citrine
#02e2cc rgb(2, 226, 204) hsl(174, 98%, 45%) Turquoise