#c021f4 ≈ Electric Purple
#c021f4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 75.29% red, 12.94% green and 95.69% blue; printed in CMYK it uses 21.31% cyan, 86.48% magenta, 0% yellow and 4.31% black. Its hue angle is 285.21°, with 90.56% saturation and 54.31% 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 4.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.74.
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.1883 |
Shades
#c021f4 mixed progressively with black.
Tints
#c021f4 mixed progressively with white.
Tones
#c021f4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021f4 {
color: #c021f4;
}
.bg-c021f4 {
background-color: #c021f4;
color: #000000;
}
.border-c021f4 {
border: 2px solid #c021f4;
}
:root {
--color-primary: #c021f4;
--color-primary-rgb: 192 33 244;
--color-primary-hsl: 285 91% 54%;
}
.gradient-c021f4 {
background: linear-gradient(135deg, #c021f4, #f421bf);
}
.shadow-c021f4 {
box-shadow: 0 8px 24px rgb(192 33 244 / 0.35);
}
Electric Purple
#c021f4 rgb(192, 33, 244) hsl(285, 91%, 54%) Electric Purple
#55f421 rgb(85, 244, 33) hsl(105, 91%, 54%) Harlequin
#f4c021 rgb(244, 192, 33) hsl(45, 91%, 54%) Saffron
#21f4c0 rgb(33, 244, 192) hsl(165, 91%, 54%) Aquamarine