#cd2dec ≈ Electric Purple
#cd2dec is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 17.65% green and 92.55% blue; printed in CMYK it uses 13.14% cyan, 80.93% magenta, 0% yellow and 7.45% black. Its hue angle is 290.26°, with 83.41% saturation and 55.1% 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 5.18:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.85.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2091 |
Shades
#cd2dec mixed progressively with black.
Tints
#cd2dec mixed progressively with white.
Tones
#cd2dec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd2dec {
color: #cd2dec;
}
.bg-cd2dec {
background-color: #cd2dec;
color: #000000;
}
.border-cd2dec {
border: 2px solid #cd2dec;
}
:root {
--color-primary: #cd2dec;
--color-primary-rgb: 205 45 236;
--color-primary-hsl: 290 83% 55%;
}
.gradient-cd2dec {
background: linear-gradient(135deg, #cd2dec, #ec2dac);
}
.shadow-cd2dec {
box-shadow: 0 8px 24px rgb(205 45 236 / 0.35);
}
Electric Purple
#cd2dec rgb(205, 45, 236) hsl(290, 83%, 55%) Electric Purple
#4cec2d rgb(76, 236, 45) hsl(110, 83%, 55%) Neon Green
#eccd2d rgb(236, 205, 45) hsl(50, 83%, 55%) Jonquil
#2deccd rgb(45, 236, 205) hsl(170, 83%, 55%) Turquoise