#c021fb ≈ Electric Purple
#c021fb 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.43% blue; printed in CMYK it uses 23.51% cyan, 86.85% magenta, 0% yellow and 1.57% black. Its hue angle is 283.76°, with 96.46% saturation and 55.69% 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.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.49.
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.1926 |
Shades
#c021fb mixed progressively with black.
Tints
#c021fb mixed progressively with white.
Tones
#c021fb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021fb {
color: #c021fb;
}
.bg-c021fb {
background-color: #c021fb;
color: #000000;
}
.border-c021fb {
border: 2px solid #c021fb;
}
:root {
--color-primary: #c021fb;
--color-primary-rgb: 192 33 251;
--color-primary-hsl: 284 96% 56%;
}
.gradient-c021fb {
background: linear-gradient(135deg, #c021fb, #fb21c9);
}
.shadow-c021fb {
box-shadow: 0 8px 24px rgb(192 33 251 / 0.35);
}
Electric Purple
#c021fb rgb(192, 33, 251) hsl(284, 96%, 56%) Electric Purple
#5cfb21 rgb(92, 251, 33) hsl(104, 96%, 56%) Harlequin
#fbc021 rgb(251, 192, 33) hsl(44, 96%, 56%) Amber
#21fbc0 rgb(33, 251, 192) hsl(164, 96%, 56%) Aquamarine