#cd02ca ≈ Electric Purple
#cd02ca is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0.78% green and 79.22% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 1.46% yellow and 19.61% black. Its hue angle is 300.89°, with 98.07% saturation and 40.59% 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.71:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 7.87.
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.1729 |
Shades
#cd02ca mixed progressively with black.
Tints
#cd02ca mixed progressively with white.
Tones
#cd02ca mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd02ca {
color: #cd02ca;
}
.bg-cd02ca {
background-color: #cd02ca;
color: #ffffff;
}
.border-cd02ca {
border: 2px solid #cd02ca;
}
:root {
--color-primary: #cd02ca;
--color-primary-rgb: 205 2 202;
--color-primary-hsl: 301 98% 41%;
}
.gradient-cd02ca {
background: linear-gradient(135deg, #cd02ca, #cd0264);
}
.shadow-cd02ca {
box-shadow: 0 8px 24px rgb(205 2 202 / 0.35);
}
Electric Purple
#cd02ca rgb(205, 2, 202) hsl(301, 98%, 41%) Electric Purple
#02cd05 rgb(2, 205, 5) hsl(121, 98%, 41%) Lime Green
#cacd02 rgb(202, 205, 2) hsl(61, 98%, 41%) Pear
#02cacd rgb(2, 202, 205) hsl(181, 98%, 41%) Dark Turquoise