#c021cf ≈ Electric Purple
#c021cf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 12.94% green and 81.18% blue; printed in CMYK it uses 7.25% cyan, 84.06% magenta, 0% yellow and 18.82% black. Its hue angle is 294.83°, with 72.5% saturation and 47.06% 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 brand accents. White text on this color reaches a contrast ratio of 4.82:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.39.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.168 |
Shades
#c021cf mixed progressively with black.
Tints
#c021cf mixed progressively with white.
Tones
#c021cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021cf {
color: #c021cf;
}
.bg-c021cf {
background-color: #c021cf;
color: #ffffff;
}
.border-c021cf {
border: 2px solid #c021cf;
}
:root {
--color-primary: #c021cf;
--color-primary-rgb: 192 33 207;
--color-primary-hsl: 295 73% 47%;
}
.gradient-c021cf {
background: linear-gradient(135deg, #c021cf, #cf2187);
}
.shadow-c021cf {
box-shadow: 0 8px 24px rgb(192 33 207 / 0.35);
}
Electric Purple
#c021cf rgb(192, 33, 207) hsl(295, 73%, 47%) Electric Purple
#30cf21 rgb(48, 207, 33) hsl(115, 73%, 47%) Lime Green
#cfc021 rgb(207, 192, 33) hsl(55, 73%, 47%) Citrine
#21cfc0 rgb(33, 207, 192) hsl(175, 73%, 47%) Medium Turquoise