#c520fa ≈ Electric Purple
#c520fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 77.25% red, 12.55% green and 98.04% blue; printed in CMYK it uses 21.2% cyan, 87.2% magenta, 0% yellow and 1.96% black. Its hue angle is 285.41°, with 95.61% saturation and 55.29% 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.96:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.19.
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.1981 |
Shades
#c520fa mixed progressively with black.
Tints
#c520fa mixed progressively with white.
Tones
#c520fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c520fa {
color: #c520fa;
}
.bg-c520fa {
background-color: #c520fa;
color: #000000;
}
.border-c520fa {
border: 2px solid #c520fa;
}
:root {
--color-primary: #c520fa;
--color-primary-rgb: 197 32 250;
--color-primary-hsl: 285 96% 55%;
}
.gradient-c520fa {
background: linear-gradient(135deg, #c520fa, #fa20c2);
}
.shadow-c520fa {
box-shadow: 0 8px 24px rgb(197 32 250 / 0.35);
}
Electric Purple
#c520fa rgb(197, 32, 250) hsl(285, 96%, 55%) Electric Purple
#55fa20 rgb(85, 250, 32) hsl(105, 96%, 55%) Harlequin
#fac520 rgb(250, 197, 32) hsl(45, 96%, 55%) Golden Poppy
#20fac5 rgb(32, 250, 197) hsl(165, 96%, 55%) Aquamarine