#c020fa ≈ Electric Purple
#c020fa 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.55% green and 98.04% blue; printed in CMYK it uses 23.2% cyan, 87.2% magenta, 0% yellow and 1.96% black. Its hue angle is 284.04°, with 95.61% saturation and 55.29% 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.83:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.43.
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.1914 |
Shades
#c020fa mixed progressively with black.
Tints
#c020fa mixed progressively with white.
Tones
#c020fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c020fa {
color: #c020fa;
}
.bg-c020fa {
background-color: #c020fa;
color: #000000;
}
.border-c020fa {
border: 2px solid #c020fa;
}
:root {
--color-primary: #c020fa;
--color-primary-rgb: 192 32 250;
--color-primary-hsl: 284 96% 55%;
}
.gradient-c020fa {
background: linear-gradient(135deg, #c020fa, #fa20c7);
}
.shadow-c020fa {
box-shadow: 0 8px 24px rgb(192 32 250 / 0.35);
}
Electric Purple
#c020fa rgb(192, 32, 250) hsl(284, 96%, 55%) Electric Purple
#5afa20 rgb(90, 250, 32) hsl(104, 96%, 55%) Harlequin
#fac020 rgb(250, 192, 32) hsl(44, 96%, 55%) Golden Poppy
#20fac0 rgb(32, 250, 192) hsl(164, 96%, 55%) Aquamarine