#cd0fec ≈ Electric Purple
#cd0fec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 5.88% green and 92.55% blue; printed in CMYK it uses 13.14% cyan, 93.64% magenta, 0% yellow and 7.45% black. Its hue angle is 291.58°, with 88.05% saturation and 49.22% 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.88:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.73.
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.1938 |
Shades
#cd0fec mixed progressively with black.
Tints
#cd0fec mixed progressively with white.
Tones
#cd0fec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0fec {
color: #cd0fec;
}
.bg-cd0fec {
background-color: #cd0fec;
color: #000000;
}
.border-cd0fec {
border: 2px solid #cd0fec;
}
:root {
--color-primary: #cd0fec;
--color-primary-rgb: 205 15 236;
--color-primary-hsl: 292 88% 49%;
}
.gradient-cd0fec {
background: linear-gradient(135deg, #cd0fec, #ec0f9d);
}
.shadow-cd0fec {
box-shadow: 0 8px 24px rgb(205 15 236 / 0.35);
}
Electric Purple
#cd0fec rgb(205, 15, 236) hsl(292, 88%, 49%) Electric Purple
#2eec0f rgb(46, 236, 15) hsl(112, 88%, 49%) Lime
#eccd0f rgb(236, 205, 15) hsl(52, 88%, 49%) Citrine
#0feccd rgb(15, 236, 205) hsl(172, 88%, 49%) Turquoise