#c012ec ≈ Electric Purple
#c012ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 75.29% red, 7.06% green and 92.55% blue; printed in CMYK it uses 18.64% cyan, 92.37% magenta, 0% yellow and 7.45% black. Its hue angle is 287.89°, with 85.83% saturation and 49.8% 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.63:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.38.
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.177 |
Shades
#c012ec mixed progressively with black.
Tints
#c012ec mixed progressively with white.
Tones
#c012ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c012ec {
color: #c012ec;
}
.bg-c012ec {
background-color: #c012ec;
color: #ffffff;
}
.border-c012ec {
border: 2px solid #c012ec;
}
:root {
--color-primary: #c012ec;
--color-primary-rgb: 192 18 236;
--color-primary-hsl: 288 86% 50%;
}
.gradient-c012ec {
background: linear-gradient(135deg, #c012ec, #ec12ab);
}
.shadow-c012ec {
box-shadow: 0 8px 24px rgb(192 18 236 / 0.35);
}
Electric Purple
#c012ec rgb(192, 18, 236) hsl(288, 86%, 50%) Electric Purple
#3eec12 rgb(62, 236, 18) hsl(108, 86%, 50%) Neon Green
#ecc012 rgb(236, 192, 18) hsl(48, 86%, 50%) Saffron
#12ecc0 rgb(18, 236, 192) hsl(168, 86%, 50%) Aquamarine