#c021dc ≈ Electric Purple
#c021dc 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.27% blue; printed in CMYK it uses 12.73% cyan, 85% magenta, 0% yellow and 13.73% black. Its hue angle is 291.02°, with 73.91% saturation and 49.61% 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.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.53.
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.1746 |
Shades
#c021dc mixed progressively with black.
Tints
#c021dc mixed progressively with white.
Tones
#c021dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021dc {
color: #c021dc;
}
.bg-c021dc {
background-color: #c021dc;
color: #ffffff;
}
.border-c021dc {
border: 2px solid #c021dc;
}
:root {
--color-primary: #c021dc;
--color-primary-rgb: 192 33 220;
--color-primary-hsl: 291 74% 50%;
}
.gradient-c021dc {
background: linear-gradient(135deg, #c021dc, #dc219a);
}
.shadow-c021dc {
box-shadow: 0 8px 24px rgb(192 33 220 / 0.35);
}
Electric Purple
#c021dc rgb(192, 33, 220) hsl(291, 74%, 50%) Electric Purple
#3ddc21 rgb(61, 220, 33) hsl(111, 74%, 50%) Lime Green
#dcc021 rgb(220, 192, 33) hsl(51, 74%, 50%) Old Gold
#21dcc0 rgb(33, 220, 192) hsl(171, 74%, 50%) Turquoise