#cc2ffe ≈ Electric Purple
#cc2ffe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 18.43% green and 99.61% blue; printed in CMYK it uses 19.69% cyan, 81.5% magenta, 0% yellow and 0.39% black. Its hue angle is 285.51°, with 99.04% saturation and 59.02% 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 5.41:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.49.
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.2203 |
Shades
#cc2ffe mixed progressively with black.
Tints
#cc2ffe mixed progressively with white.
Tones
#cc2ffe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2ffe {
color: #cc2ffe;
}
.bg-cc2ffe {
background-color: #cc2ffe;
color: #000000;
}
.border-cc2ffe {
border: 2px solid #cc2ffe;
}
:root {
--color-primary: #cc2ffe;
--color-primary-rgb: 204 47 254;
--color-primary-hsl: 286 99% 59%;
}
.gradient-cc2ffe {
background: linear-gradient(135deg, #cc2ffe, #fe2fc8);
}
.shadow-cc2ffe {
box-shadow: 0 8px 24px rgb(204 47 254 / 0.35);
}
Electric Purple
#cc2ffe rgb(204, 47, 254) hsl(286, 99%, 59%) Electric Purple
#61fe2f rgb(97, 254, 47) hsl(106, 99%, 59%) Harlequin
#fecc2f rgb(254, 204, 47) hsl(46, 99%, 59%) Sunglow
#2ffecc rgb(47, 254, 204) hsl(166, 99%, 59%) Aquamarine