#c021fc ≈ Electric Purple
#c021fc 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.82% blue; printed in CMYK it uses 23.81% cyan, 86.9% magenta, 0% yellow and 1.18% black. Its hue angle is 283.56°, with 97.33% saturation and 55.88% 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.86: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.1932 |
Shades
#c021fc mixed progressively with black.
Tints
#c021fc mixed progressively with white.
Tones
#c021fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021fc {
color: #c021fc;
}
.bg-c021fc {
background-color: #c021fc;
color: #000000;
}
.border-c021fc {
border: 2px solid #c021fc;
}
:root {
--color-primary: #c021fc;
--color-primary-rgb: 192 33 252;
--color-primary-hsl: 284 97% 56%;
}
.gradient-c021fc {
background: linear-gradient(135deg, #c021fc, #fc21cb);
}
.shadow-c021fc {
box-shadow: 0 8px 24px rgb(192 33 252 / 0.35);
}
Electric Purple
#c021fc rgb(192, 33, 252) hsl(284, 97%, 56%) Electric Purple
#5dfc21 rgb(93, 252, 33) hsl(104, 97%, 56%) Harlequin
#fcc021 rgb(252, 192, 33) hsl(44, 97%, 56%) Amber
#21fcc0 rgb(33, 252, 192) hsl(164, 97%, 56%) Aquamarine