#cd0cd1 ≈ Electric Purple
#cd0cd1 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 4.71% green and 81.96% blue; printed in CMYK it uses 1.91% cyan, 94.26% magenta, 0% yellow and 18.04% black. Its hue angle is 298.78°, with 89.14% saturation and 43.33% 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.6:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.9.
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.1785 |
Shades
#cd0cd1 mixed progressively with black.
Tints
#cd0cd1 mixed progressively with white.
Tones
#cd0cd1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0cd1 {
color: #cd0cd1;
}
.bg-cd0cd1 {
background-color: #cd0cd1;
color: #ffffff;
}
.border-cd0cd1 {
border: 2px solid #cd0cd1;
}
:root {
--color-primary: #cd0cd1;
--color-primary-rgb: 205 12 209;
--color-primary-hsl: 299 89% 43%;
}
.gradient-cd0cd1 {
background: linear-gradient(135deg, #cd0cd1, #d10c72);
}
.shadow-cd0cd1 {
box-shadow: 0 8px 24px rgb(205 12 209 / 0.35);
}
Electric Purple
#cd0cd1 rgb(205, 12, 209) hsl(299, 89%, 43%) Electric Purple
#10d10c rgb(16, 209, 12) hsl(119, 89%, 43%) Lime Green
#d1cd0c rgb(209, 205, 12) hsl(59, 89%, 43%) Citrine
#0cd1cd rgb(12, 209, 205) hsl(179, 89%, 43%) Robin Egg Blue