#c021d7 ≈ Electric Purple
#c021d7 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 84.31% blue; printed in CMYK it uses 10.7% cyan, 84.65% magenta, 0% yellow and 15.69% black. Its hue angle is 292.42°, with 73.39% saturation and 48.63% 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.73:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.23.
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.172 |
Shades
#c021d7 mixed progressively with black.
Tints
#c021d7 mixed progressively with white.
Tones
#c021d7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021d7 {
color: #c021d7;
}
.bg-c021d7 {
background-color: #c021d7;
color: #ffffff;
}
.border-c021d7 {
border: 2px solid #c021d7;
}
:root {
--color-primary: #c021d7;
--color-primary-rgb: 192 33 215;
--color-primary-hsl: 292 73% 49%;
}
.gradient-c021d7 {
background: linear-gradient(135deg, #c021d7, #d72193);
}
.shadow-c021d7 {
box-shadow: 0 8px 24px rgb(192 33 215 / 0.35);
}
Electric Purple
#c021d7 rgb(192, 33, 215) hsl(292, 73%, 49%) Electric Purple
#38d721 rgb(56, 215, 33) hsl(112, 73%, 49%) Lime Green
#d7c021 rgb(215, 192, 33) hsl(52, 73%, 49%) Old Gold
#21d7c0 rgb(33, 215, 192) hsl(172, 73%, 49%) Turquoise