#c021fe ≈ Electric Purple
#c021fe 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 99.61% blue; printed in CMYK it uses 24.41% cyan, 87.01% magenta, 0% yellow and 0.39% black. Its hue angle is 283.17°, with 99.1% saturation and 56.27% 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.89:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.56.
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.1945 |
Shades
#c021fe mixed progressively with black.
Tints
#c021fe mixed progressively with white.
Tones
#c021fe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021fe {
color: #c021fe;
}
.bg-c021fe {
background-color: #c021fe;
color: #000000;
}
.border-c021fe {
border: 2px solid #c021fe;
}
:root {
--color-primary: #c021fe;
--color-primary-rgb: 192 33 254;
--color-primary-hsl: 283 99% 56%;
}
.gradient-c021fe {
background: linear-gradient(135deg, #c021fe, #fe21cd);
}
.shadow-c021fe {
box-shadow: 0 8px 24px rgb(192 33 254 / 0.35);
}
Electric Purple
#c021fe rgb(192, 33, 254) hsl(283, 99%, 56%) Electric Purple
#5ffe21 rgb(95, 254, 33) hsl(103, 99%, 56%) Harlequin
#fec021 rgb(254, 192, 33) hsl(43, 99%, 56%) Amber
#21fec0 rgb(33, 254, 192) hsl(163, 99%, 56%) Aquamarine