#cd2dfc ≈ Electric Purple
#cd2dfc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 17.65% green and 98.82% blue; printed in CMYK it uses 18.65% cyan, 82.14% magenta, 0% yellow and 1.18% black. Its hue angle is 286.38°, with 97.18% saturation and 58.24% 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.38:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.45.
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.2188 |
Shades
#cd2dfc mixed progressively with black.
Tints
#cd2dfc mixed progressively with white.
Tones
#cd2dfc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd2dfc {
color: #cd2dfc;
}
.bg-cd2dfc {
background-color: #cd2dfc;
color: #000000;
}
.border-cd2dfc {
border: 2px solid #cd2dfc;
}
:root {
--color-primary: #cd2dfc;
--color-primary-rgb: 205 45 252;
--color-primary-hsl: 286 97% 58%;
}
.gradient-cd2dfc {
background: linear-gradient(135deg, #cd2dfc, #fc2dc3);
}
.shadow-cd2dfc {
box-shadow: 0 8px 24px rgb(205 45 252 / 0.35);
}
Electric Purple
#cd2dfc rgb(205, 45, 252) hsl(286, 97%, 58%) Electric Purple
#5cfc2d rgb(92, 252, 45) hsl(106, 97%, 58%) Harlequin
#fccd2d rgb(252, 205, 45) hsl(46, 97%, 58%) Sunglow
#2dfccd rgb(45, 252, 205) hsl(166, 97%, 58%) Aquamarine