#cd08dc ≈ Electric Purple
#cd08dc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 3.14% green and 86.27% blue; printed in CMYK it uses 6.82% cyan, 96.36% magenta, 0% yellow and 13.73% black. Its hue angle is 295.75°, with 92.98% saturation and 44.71% 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 5.43.
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.1832 |
Shades
#cd08dc mixed progressively with black.
Tints
#cd08dc mixed progressively with white.
Tones
#cd08dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd08dc {
color: #cd08dc;
}
.bg-cd08dc {
background-color: #cd08dc;
color: #000000;
}
.border-cd08dc {
border: 2px solid #cd08dc;
}
:root {
--color-primary: #cd08dc;
--color-primary-rgb: 205 8 220;
--color-primary-hsl: 296 93% 45%;
}
.gradient-cd08dc {
background: linear-gradient(135deg, #cd08dc, #dc0881);
}
.shadow-cd08dc {
box-shadow: 0 8px 24px rgb(205 8 220 / 0.35);
}
Electric Purple
#cd08dc rgb(205, 8, 220) hsl(296, 93%, 45%) Electric Purple
#17dc08 rgb(23, 220, 8) hsl(116, 93%, 45%) Lime Green
#dccd08 rgb(220, 205, 8) hsl(56, 93%, 45%) Citrine
#08dccd rgb(8, 220, 205) hsl(176, 93%, 45%) Turquoise