#c021d4 ≈ Electric Purple
#c021d4 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 83.14% blue; printed in CMYK it uses 9.43% cyan, 84.43% magenta, 0% yellow and 16.86% black. Its hue angle is 293.3°, with 73.06% saturation and 48.04% 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.76:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.66.
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.1705 |
Shades
#c021d4 mixed progressively with black.
Tints
#c021d4 mixed progressively with white.
Tones
#c021d4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021d4 {
color: #c021d4;
}
.bg-c021d4 {
background-color: #c021d4;
color: #ffffff;
}
.border-c021d4 {
border: 2px solid #c021d4;
}
:root {
--color-primary: #c021d4;
--color-primary-rgb: 192 33 212;
--color-primary-hsl: 293 73% 48%;
}
.gradient-c021d4 {
background: linear-gradient(135deg, #c021d4, #d4218e);
}
.shadow-c021d4 {
box-shadow: 0 8px 24px rgb(192 33 212 / 0.35);
}
Electric Purple
#c021d4 rgb(192, 33, 212) hsl(293, 73%, 48%) Electric Purple
#35d421 rgb(53, 212, 33) hsl(113, 73%, 48%) Lime Green
#d4c021 rgb(212, 192, 33) hsl(53, 73%, 48%) Old Gold
#21d4c0 rgb(33, 212, 192) hsl(173, 73%, 48%) Turquoise