#c021f7 ≈ Electric Purple
#c021f7 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.86% blue; printed in CMYK it uses 22.27% cyan, 86.64% magenta, 0% yellow and 3.14% black. Its hue angle is 284.58°, with 93.04% saturation and 54.9% 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.8:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.57.
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.1901 |
Shades
#c021f7 mixed progressively with black.
Tints
#c021f7 mixed progressively with white.
Tones
#c021f7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021f7 {
color: #c021f7;
}
.bg-c021f7 {
background-color: #c021f7;
color: #000000;
}
.border-c021f7 {
border: 2px solid #c021f7;
}
:root {
--color-primary: #c021f7;
--color-primary-rgb: 192 33 247;
--color-primary-hsl: 285 93% 55%;
}
.gradient-c021f7 {
background: linear-gradient(135deg, #c021f7, #f721c3);
}
.shadow-c021f7 {
box-shadow: 0 8px 24px rgb(192 33 247 / 0.35);
}
Electric Purple
#c021f7 rgb(192, 33, 247) hsl(285, 93%, 55%) Electric Purple
#58f721 rgb(88, 247, 33) hsl(105, 93%, 55%) Harlequin
#f7c021 rgb(247, 192, 33) hsl(45, 93%, 55%) Golden Poppy
#21f7c0 rgb(33, 247, 192) hsl(165, 93%, 55%) Aquamarine