#cc2dfd ≈ Electric Purple
#cc2dfd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 17.65% green and 99.22% blue; printed in CMYK it uses 19.37% cyan, 82.21% magenta, 0% yellow and 0.78% black. Its hue angle is 285.87°, with 98.11% saturation and 58.43% 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.3.
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.2181 |
Shades
#cc2dfd mixed progressively with black.
Tints
#cc2dfd mixed progressively with white.
Tones
#cc2dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2dfd {
color: #cc2dfd;
}
.bg-cc2dfd {
background-color: #cc2dfd;
color: #000000;
}
.border-cc2dfd {
border: 2px solid #cc2dfd;
}
:root {
--color-primary: #cc2dfd;
--color-primary-rgb: 204 45 253;
--color-primary-hsl: 286 98% 58%;
}
.gradient-cc2dfd {
background: linear-gradient(135deg, #cc2dfd, #fd2dc6);
}
.shadow-cc2dfd {
box-shadow: 0 8px 24px rgb(204 45 253 / 0.35);
}
Electric Purple
#cc2dfd rgb(204, 45, 253) hsl(286, 98%, 58%) Electric Purple
#5efd2d rgb(94, 253, 45) hsl(106, 98%, 58%) Harlequin
#fdcc2d rgb(253, 204, 45) hsl(46, 98%, 58%) Sunglow
#2dfdcc rgb(45, 253, 204) hsl(166, 98%, 58%) Aquamarine