#cd22fc ≈ Electric Purple
#cd22fc 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.82% blue; printed in CMYK it uses 18.65% cyan, 86.51% magenta, 0% yellow and 1.18% black. Its hue angle is 287.06°, with 97.32% saturation and 56.08% 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.23: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.2115 |
Shades
#cd22fc mixed progressively with black.
Tints
#cd22fc mixed progressively with white.
Tones
#cd22fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd22fc {
color: #cd22fc;
}
.bg-cd22fc {
background-color: #cd22fc;
color: #000000;
}
.border-cd22fc {
border: 2px solid #cd22fc;
}
:root {
--color-primary: #cd22fc;
--color-primary-rgb: 205 34 252;
--color-primary-hsl: 287 97% 56%;
}
.gradient-cd22fc {
background: linear-gradient(135deg, #cd22fc, #fc22be);
}
.shadow-cd22fc {
box-shadow: 0 8px 24px rgb(205 34 252 / 0.35);
}
Electric Purple
#cd22fc rgb(205, 34, 252) hsl(287, 97%, 56%) Electric Purple
#51fc22 rgb(81, 252, 34) hsl(107, 97%, 56%) Harlequin
#fccd22 rgb(252, 205, 34) hsl(47, 97%, 56%) Jonquil
#22fccd rgb(34, 252, 205) hsl(167, 97%, 56%) Aquamarine