#cc02ca ≈ Electric Purple
#cc02ca 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 79.22% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 0.98% yellow and 20% black. Its hue angle is 300.59°, with 98.06% saturation and 40.39% 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.74:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 7.79.
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.1715 |
Shades
#cc02ca mixed progressively with black.
Tints
#cc02ca mixed progressively with white.
Tones
#cc02ca mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc02ca {
color: #cc02ca;
}
.bg-cc02ca {
background-color: #cc02ca;
color: #ffffff;
}
.border-cc02ca {
border: 2px solid #cc02ca;
}
:root {
--color-primary: #cc02ca;
--color-primary-rgb: 204 2 202;
--color-primary-hsl: 301 98% 40%;
}
.gradient-cc02ca {
background: linear-gradient(135deg, #cc02ca, #cc0265);
}
.shadow-cc02ca {
box-shadow: 0 8px 24px rgb(204 2 202 / 0.35);
}
Electric Purple
#cc02ca rgb(204, 2, 202) hsl(301, 98%, 40%) Electric Purple
#02cc04 rgb(2, 204, 4) hsl(121, 98%, 40%) Lime Green
#cacc02 rgb(202, 204, 2) hsl(61, 98%, 40%) Citrine
#02cacc rgb(2, 202, 204) hsl(181, 98%, 40%) Robin Egg Blue