#cd04e1 ≈ Electric Purple
#cd04e1 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 1.57% green and 88.24% blue; printed in CMYK it uses 8.89% cyan, 98.22% magenta, 0% yellow and 11.76% black. Its hue angle is 294.57°, with 96.51% saturation and 44.9% 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.7:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.8.
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.185 |
Shades
#cd04e1 mixed progressively with black.
Tints
#cd04e1 mixed progressively with white.
Tones
#cd04e1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd04e1 {
color: #cd04e1;
}
.bg-cd04e1 {
background-color: #cd04e1;
color: #000000;
}
.border-cd04e1 {
border: 2px solid #cd04e1;
}
:root {
--color-primary: #cd04e1;
--color-primary-rgb: 205 4 225;
--color-primary-hsl: 295 97% 45%;
}
.gradient-cd04e1 {
background: linear-gradient(135deg, #cd04e1, #e10486);
}
.shadow-cd04e1 {
box-shadow: 0 8px 24px rgb(205 4 225 / 0.35);
}
Electric Purple
#cd04e1 rgb(205, 4, 225) hsl(295, 97%, 45%) Electric Purple
#18e104 rgb(24, 225, 4) hsl(115, 97%, 45%) Lime Green
#e1cd04 rgb(225, 205, 4) hsl(55, 97%, 45%) Citrine
#04e1cd rgb(4, 225, 205) hsl(175, 97%, 45%) Turquoise