#c021fa ≈ Electric Purple
#c021fa 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 98.04% blue; printed in CMYK it uses 23.2% cyan, 86.8% magenta, 0% yellow and 1.96% black. Its hue angle is 283.96°, with 95.59% saturation and 55.49% lightness in HSL. It is a cool color, 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.84:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.5.
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.192 |
Shades
#c021fa mixed progressively with black.
Tints
#c021fa mixed progressively with white.
Tones
#c021fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021fa {
color: #c021fa;
}
.bg-c021fa {
background-color: #c021fa;
color: #000000;
}
.border-c021fa {
border: 2px solid #c021fa;
}
:root {
--color-primary: #c021fa;
--color-primary-rgb: 192 33 250;
--color-primary-hsl: 284 96% 55%;
}
.gradient-c021fa {
background: linear-gradient(135deg, #c021fa, #fa21c8);
}
.shadow-c021fa {
box-shadow: 0 8px 24px rgb(192 33 250 / 0.35);
}
Electric Purple
#c021fa rgb(192, 33, 250) hsl(284, 96%, 55%) Electric Purple
#5bfa21 rgb(91, 250, 33) hsl(104, 96%, 55%) Harlequin
#fac021 rgb(250, 192, 33) hsl(44, 96%, 55%) Golden Poppy
#21fac0 rgb(33, 250, 192) hsl(164, 96%, 55%) Aquamarine