#c021dd ≈ Electric Purple
#c021dd is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 12.94% green and 86.67% blue; printed in CMYK it uses 13.12% cyan, 85.07% magenta, 0% yellow and 13.33% black. Its hue angle is 290.74°, with 74.02% saturation and 49.8% 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 brand accents. White text on this color reaches a contrast ratio of 4.66:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.4.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1751 |
Shades
#c021dd mixed progressively with black.
Tints
#c021dd mixed progressively with white.
Tones
#c021dd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021dd {
color: #c021dd;
}
.bg-c021dd {
background-color: #c021dd;
color: #ffffff;
}
.border-c021dd {
border: 2px solid #c021dd;
}
:root {
--color-primary: #c021dd;
--color-primary-rgb: 192 33 221;
--color-primary-hsl: 291 74% 50%;
}
.gradient-c021dd {
background: linear-gradient(135deg, #c021dd, #dd219c);
}
.shadow-c021dd {
box-shadow: 0 8px 24px rgb(192 33 221 / 0.35);
}
Electric Purple
#c021dd rgb(192, 33, 221) hsl(291, 74%, 50%) Electric Purple
#3edd21 rgb(62, 221, 33) hsl(111, 74%, 50%) Lime Green
#ddc021 rgb(221, 192, 33) hsl(51, 74%, 50%) Old Gold
#21ddc0 rgb(33, 221, 192) hsl(171, 74%, 50%) Turquoise