#cf12ec ≈ Electric Purple
#cf12ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 7.06% green and 92.55% blue; printed in CMYK it uses 12.29% cyan, 92.37% magenta, 0% yellow and 7.45% black. Its hue angle is 292.02°, 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. Black text on this color reaches a contrast ratio of 4.95:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.09.
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.1975 |
Shades
#cf12ec mixed progressively with black.
Tints
#cf12ec mixed progressively with white.
Tones
#cf12ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf12ec {
color: #cf12ec;
}
.bg-cf12ec {
background-color: #cf12ec;
color: #000000;
}
.border-cf12ec {
border: 2px solid #cf12ec;
}
:root {
--color-primary: #cf12ec;
--color-primary-rgb: 207 18 236;
--color-primary-hsl: 292 86% 50%;
}
.gradient-cf12ec {
background: linear-gradient(135deg, #cf12ec, #ec129c);
}
.shadow-cf12ec {
box-shadow: 0 8px 24px rgb(207 18 236 / 0.35);
}
Electric Purple
#cf12ec rgb(207, 18, 236) hsl(292, 86%, 50%) Electric Purple
#2fec12 rgb(47, 236, 18) hsl(112, 86%, 50%) Lime
#eccf12 rgb(236, 207, 18) hsl(52, 86%, 50%) Citrine
#12eccf rgb(18, 236, 207) hsl(172, 86%, 50%) Turquoise