#c021f2 ≈ Electric Purple
#c021f2 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 94.9% blue; printed in CMYK it uses 20.66% cyan, 86.36% magenta, 0% yellow and 5.1% black. Its hue angle is 285.65°, with 88.94% saturation and 53.92% 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.74:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.9.
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.187 |
Shades
#c021f2 mixed progressively with black.
Tints
#c021f2 mixed progressively with white.
Tones
#c021f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021f2 {
color: #c021f2;
}
.bg-c021f2 {
background-color: #c021f2;
color: #000000;
}
.border-c021f2 {
border: 2px solid #c021f2;
}
:root {
--color-primary: #c021f2;
--color-primary-rgb: 192 33 242;
--color-primary-hsl: 286 89% 54%;
}
.gradient-c021f2 {
background: linear-gradient(135deg, #c021f2, #f221bb);
}
.shadow-c021f2 {
box-shadow: 0 8px 24px rgb(192 33 242 / 0.35);
}
Electric Purple
#c021f2 rgb(192, 33, 242) hsl(286, 89%, 54%) Electric Purple
#53f221 rgb(83, 242, 33) hsl(106, 89%, 54%) Neon Green
#f2c021 rgb(242, 192, 33) hsl(46, 89%, 54%) Saffron
#21f2c0 rgb(33, 242, 192) hsl(166, 89%, 54%) Aquamarine