#cc12eb ≈ Electric Purple
#cc12eb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 7.06% green and 92.16% blue; printed in CMYK it uses 13.19% cyan, 92.34% magenta, 0% yellow and 7.84% black. Its hue angle is 291.43°, with 85.77% saturation and 49.61% 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.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.71.
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.1927 |
Shades
#cc12eb mixed progressively with black.
Tints
#cc12eb mixed progressively with white.
Tones
#cc12eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc12eb {
color: #cc12eb;
}
.bg-cc12eb {
background-color: #cc12eb;
color: #000000;
}
.border-cc12eb {
border: 2px solid #cc12eb;
}
:root {
--color-primary: #cc12eb;
--color-primary-rgb: 204 18 235;
--color-primary-hsl: 291 86% 50%;
}
.gradient-cc12eb {
background: linear-gradient(135deg, #cc12eb, #eb129e);
}
.shadow-cc12eb {
box-shadow: 0 8px 24px rgb(204 18 235 / 0.35);
}
Electric Purple
#cc12eb rgb(204, 18, 235) hsl(291, 86%, 50%) Electric Purple
#31eb12 rgb(49, 235, 18) hsl(111, 86%, 50%) Lime
#ebcc12 rgb(235, 204, 18) hsl(51, 86%, 50%) Citrine
#12ebcc rgb(18, 235, 204) hsl(171, 86%, 50%) Turquoise