#cd2ff8 ≈ Electric Purple
#cd2ff8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 18.43% green and 97.25% blue; printed in CMYK it uses 17.34% cyan, 81.05% magenta, 0% yellow and 2.75% black. Its hue angle is 287.16°, with 93.49% saturation and 57.84% 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.36:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.61.
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.2179 |
Shades
#cd2ff8 mixed progressively with black.
Tints
#cd2ff8 mixed progressively with white.
Tones
#cd2ff8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd2ff8 {
color: #cd2ff8;
}
.bg-cd2ff8 {
background-color: #cd2ff8;
color: #000000;
}
.border-cd2ff8 {
border: 2px solid #cd2ff8;
}
:root {
--color-primary: #cd2ff8;
--color-primary-rgb: 205 47 248;
--color-primary-hsl: 287 93% 58%;
}
.gradient-cd2ff8 {
background: linear-gradient(135deg, #cd2ff8, #f82fbf);
}
.shadow-cd2ff8 {
box-shadow: 0 8px 24px rgb(205 47 248 / 0.35);
}
Electric Purple
#cd2ff8 rgb(205, 47, 248) hsl(287, 93%, 58%) Electric Purple
#5af82f rgb(90, 248, 47) hsl(107, 93%, 58%) Neon Green
#f8cd2f rgb(248, 205, 47) hsl(47, 93%, 58%) Jonquil
#2ff8cd rgb(47, 248, 205) hsl(167, 93%, 58%) Aquamarine