#c021f5 ≈ Electric Purple
#c021f5 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 96.08% blue; printed in CMYK it uses 21.63% cyan, 86.53% magenta, 0% yellow and 3.92% black. Its hue angle is 285°, with 91.38% saturation and 54.51% lightness in HSL. It sits between warm and cool, and is 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.78:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.68.
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.1889 |
Shades
#c021f5 mixed progressively with black.
Tints
#c021f5 mixed progressively with white.
Tones
#c021f5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021f5 {
color: #c021f5;
}
.bg-c021f5 {
background-color: #c021f5;
color: #000000;
}
.border-c021f5 {
border: 2px solid #c021f5;
}
:root {
--color-primary: #c021f5;
--color-primary-rgb: 192 33 245;
--color-primary-hsl: 285 91% 55%;
}
.gradient-c021f5 {
background: linear-gradient(135deg, #c021f5, #f521c0);
}
.shadow-c021f5 {
box-shadow: 0 8px 24px rgb(192 33 245 / 0.35);
}
Electric Purple
#c021f5 rgb(192, 33, 245) hsl(285, 91%, 55%) Electric Purple
#56f521 rgb(86, 245, 33) hsl(105, 91%, 55%) Harlequin
#f5c021 rgb(245, 192, 33) hsl(45, 91%, 55%) Saffron
#21f5c0 rgb(33, 245, 192) hsl(165, 91%, 55%) Aquamarine