#cd22ed ≈ Electric Purple
#cd22ed is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 13.33% green and 92.94% blue; printed in CMYK it uses 13.5% cyan, 85.65% magenta, 0% yellow and 7.06% black. Its hue angle is 290.54°, with 84.94% saturation and 53.14% 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.05:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.18.
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.2024 |
Shades
#cd22ed mixed progressively with black.
Tints
#cd22ed mixed progressively with white.
Tones
#cd22ed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd22ed {
color: #cd22ed;
}
.bg-cd22ed {
background-color: #cd22ed;
color: #000000;
}
.border-cd22ed {
border: 2px solid #cd22ed;
}
:root {
--color-primary: #cd22ed;
--color-primary-rgb: 205 34 237;
--color-primary-hsl: 291 85% 53%;
}
.gradient-cd22ed {
background: linear-gradient(135deg, #cd22ed, #ed22a8);
}
.shadow-cd22ed {
box-shadow: 0 8px 24px rgb(205 34 237 / 0.35);
}
Electric Purple
#cd22ed rgb(205, 34, 237) hsl(291, 85%, 53%) Electric Purple
#42ed22 rgb(66, 237, 34) hsl(111, 85%, 53%) Neon Green
#edcd22 rgb(237, 205, 34) hsl(51, 85%, 53%) Jonquil
#22edcd rgb(34, 237, 205) hsl(171, 85%, 53%) Turquoise