#cd0dec ≈ Electric Purple
#cd0dec 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.1% green and 92.55% blue; printed in CMYK it uses 13.14% cyan, 94.49% magenta, 0% yellow and 7.45% black. Its hue angle is 291.66°, with 89.56% saturation and 48.82% 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.86:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.7.
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.1932 |
Shades
#cd0dec mixed progressively with black.
Tints
#cd0dec mixed progressively with white.
Tones
#cd0dec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0dec {
color: #cd0dec;
}
.bg-cd0dec {
background-color: #cd0dec;
color: #000000;
}
.border-cd0dec {
border: 2px solid #cd0dec;
}
:root {
--color-primary: #cd0dec;
--color-primary-rgb: 205 13 236;
--color-primary-hsl: 292 90% 49%;
}
.gradient-cd0dec {
background: linear-gradient(135deg, #cd0dec, #ec0d9b);
}
.shadow-cd0dec {
box-shadow: 0 8px 24px rgb(205 13 236 / 0.35);
}
Electric Purple
#cd0dec rgb(205, 13, 236) hsl(292, 90%, 49%) Electric Purple
#2cec0d rgb(44, 236, 13) hsl(112, 90%, 49%) Lime
#eccd0d rgb(236, 205, 13) hsl(52, 90%, 49%) Citrine
#0deccd rgb(13, 236, 205) hsl(172, 90%, 49%) Turquoise