#c012fc ≈ Electric Purple
#c012fc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 75.29% red, 7.06% green and 98.82% blue; printed in CMYK it uses 23.81% cyan, 92.86% magenta, 0% yellow and 1.18% black. Its hue angle is 284.62°, with 97.5% saturation and 52.94% 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.73:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.69.
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.1867 |
Shades
#c012fc mixed progressively with black.
Tints
#c012fc mixed progressively with white.
Tones
#c012fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c012fc {
color: #c012fc;
}
.bg-c012fc {
background-color: #c012fc;
color: #000000;
}
.border-c012fc {
border: 2px solid #c012fc;
}
:root {
--color-primary: #c012fc;
--color-primary-rgb: 192 18 252;
--color-primary-hsl: 285 98% 53%;
}
.gradient-c012fc {
background: linear-gradient(135deg, #c012fc, #fc12c3);
}
.shadow-c012fc {
box-shadow: 0 8px 24px rgb(192 18 252 / 0.35);
}
Electric Purple
#c012fc rgb(192, 18, 252) hsl(285, 98%, 53%) Electric Purple
#4efc12 rgb(78, 252, 18) hsl(105, 98%, 53%) Harlequin
#fcc012 rgb(252, 192, 18) hsl(45, 98%, 53%) Amber
#12fcc0 rgb(18, 252, 192) hsl(165, 98%, 53%) Aquamarine