#c512fa ≈ Electric Purple
#c512fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 77.25% red, 7.06% green and 98.04% blue; printed in CMYK it uses 21.2% cyan, 92.8% magenta, 0% yellow and 1.96% black. Its hue angle is 286.29°, with 95.87% saturation and 52.55% 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.84: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 | #cc00ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1921 |
Shades
#c512fa mixed progressively with black.
Tints
#c512fa mixed progressively with white.
Tones
#c512fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c512fa {
color: #c512fa;
}
.bg-c512fa {
background-color: #c512fa;
color: #000000;
}
.border-c512fa {
border: 2px solid #c512fa;
}
:root {
--color-primary: #c512fa;
--color-primary-rgb: 197 18 250;
--color-primary-hsl: 286 96% 53%;
}
.gradient-c512fa {
background: linear-gradient(135deg, #c512fa, #fa12bb);
}
.shadow-c512fa {
box-shadow: 0 8px 24px rgb(197 18 250 / 0.35);
}
Electric Purple
#c512fa rgb(197, 18, 250) hsl(286, 96%, 53%) Electric Purple
#47fa12 rgb(71, 250, 18) hsl(106, 96%, 53%) Harlequin
#fac512 rgb(250, 197, 18) hsl(46, 96%, 53%) Golden Poppy
#12fac5 rgb(18, 250, 197) hsl(166, 96%, 53%) Aquamarine