#c021f8 ≈ Electric Purple
#c021f8 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 97.25% blue; printed in CMYK it uses 22.58% cyan, 86.69% magenta, 0% yellow and 2.75% black. Its hue angle is 284.37°, with 93.89% saturation and 55.1% 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.81:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.54.
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.1907 |
Shades
#c021f8 mixed progressively with black.
Tints
#c021f8 mixed progressively with white.
Tones
#c021f8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021f8 {
color: #c021f8;
}
.bg-c021f8 {
background-color: #c021f8;
color: #000000;
}
.border-c021f8 {
border: 2px solid #c021f8;
}
:root {
--color-primary: #c021f8;
--color-primary-rgb: 192 33 248;
--color-primary-hsl: 284 94% 55%;
}
.gradient-c021f8 {
background: linear-gradient(135deg, #c021f8, #f821c5);
}
.shadow-c021f8 {
box-shadow: 0 8px 24px rgb(192 33 248 / 0.35);
}
Electric Purple
#c021f8 rgb(192, 33, 248) hsl(284, 94%, 55%) Electric Purple
#59f821 rgb(89, 248, 33) hsl(104, 94%, 55%) Harlequin
#f8c021 rgb(248, 192, 33) hsl(44, 94%, 55%) Golden Poppy
#21f8c0 rgb(33, 248, 192) hsl(164, 94%, 55%) Aquamarine