#cf0cd4 ≈ Electric Purple
#cf0cd4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 4.71% green and 83.14% blue; printed in CMYK it uses 2.36% cyan, 94.34% magenta, 0% yellow and 16.86% black. Its hue angle is 298.5°, with 89.29% saturation and 43.92% 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.66:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.69.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1828 |
Shades
#cf0cd4 mixed progressively with black.
Tints
#cf0cd4 mixed progressively with white.
Tones
#cf0cd4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf0cd4 {
color: #cf0cd4;
}
.bg-cf0cd4 {
background-color: #cf0cd4;
color: #000000;
}
.border-cf0cd4 {
border: 2px solid #cf0cd4;
}
:root {
--color-primary: #cf0cd4;
--color-primary-rgb: 207 12 212;
--color-primary-hsl: 299 89% 44%;
}
.gradient-cf0cd4 {
background: linear-gradient(135deg, #cf0cd4, #d40c75);
}
.shadow-cf0cd4 {
box-shadow: 0 8px 24px rgb(207 12 212 / 0.35);
}
Electric Purple
#cf0cd4 rgb(207, 12, 212) hsl(299, 89%, 44%) Electric Purple
#11d40c rgb(17, 212, 12) hsl(119, 89%, 44%) Lime Green
#d4cf0c rgb(212, 207, 12) hsl(59, 89%, 44%) Citrine
#0cd4cf rgb(12, 212, 207) hsl(179, 89%, 44%) Medium Turquoise