#cd22fa ≈ Electric Purple
#cd22fa 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 98.04% blue; printed in CMYK it uses 18% cyan, 86.4% magenta, 0% yellow and 1.96% black. Its hue angle is 287.5°, with 95.58% saturation and 55.69% 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.21:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.69.
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.2103 |
Shades
#cd22fa mixed progressively with black.
Tints
#cd22fa mixed progressively with white.
Tones
#cd22fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd22fa {
color: #cd22fa;
}
.bg-cd22fa {
background-color: #cd22fa;
color: #000000;
}
.border-cd22fa {
border: 2px solid #cd22fa;
}
:root {
--color-primary: #cd22fa;
--color-primary-rgb: 205 34 250;
--color-primary-hsl: 288 96% 56%;
}
.gradient-cd22fa {
background: linear-gradient(135deg, #cd22fa, #fa22bb);
}
.shadow-cd22fa {
box-shadow: 0 8px 24px rgb(205 34 250 / 0.35);
}
Electric Purple
#cd22fa rgb(205, 34, 250) hsl(288, 96%, 56%) Electric Purple
#4ffa22 rgb(79, 250, 34) hsl(108, 96%, 56%) Neon Green
#facd22 rgb(250, 205, 34) hsl(48, 96%, 56%) Jonquil
#22facd rgb(34, 250, 205) hsl(168, 96%, 56%) Aquamarine