#dc12fa ≈ Electric Purple
#dc12fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 7.06% green and 98.04% blue; printed in CMYK it uses 12% cyan, 92.8% magenta, 0% yellow and 1.96% black. Its hue angle is 292.24°, 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 5.51:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.84.
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.2255 |
Shades
#dc12fa mixed progressively with black.
Tints
#dc12fa mixed progressively with white.
Tones
#dc12fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc12fa {
color: #dc12fa;
}
.bg-dc12fa {
background-color: #dc12fa;
color: #000000;
}
.border-dc12fa {
border: 2px solid #dc12fa;
}
:root {
--color-primary: #dc12fa;
--color-primary-rgb: 220 18 250;
--color-primary-hsl: 292 96% 53%;
}
.gradient-dc12fa {
background: linear-gradient(135deg, #dc12fa, #fa12a4);
}
.shadow-dc12fa {
box-shadow: 0 8px 24px rgb(220 18 250 / 0.35);
}
Electric Purple
#dc12fa rgb(220, 18, 250) hsl(292, 96%, 53%) Electric Purple
#30fa12 rgb(48, 250, 18) hsl(112, 96%, 53%) Neon Green
#fadc12 rgb(250, 220, 18) hsl(52, 96%, 53%) Golden Yellow
#12fadc rgb(18, 250, 220) hsl(172, 96%, 53%) Turquoise Blue