#dc12fc ≈ Electric Purple
#dc12fc 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.82% blue; printed in CMYK it uses 12.7% cyan, 92.86% magenta, 0% yellow and 1.18% black. Its hue angle is 291.79°, with 97.5% saturation and 52.94% 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.54:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.82.
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.2268 |
Shades
#dc12fc mixed progressively with black.
Tints
#dc12fc mixed progressively with white.
Tones
#dc12fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc12fc {
color: #dc12fc;
}
.bg-dc12fc {
background-color: #dc12fc;
color: #000000;
}
.border-dc12fc {
border: 2px solid #dc12fc;
}
:root {
--color-primary: #dc12fc;
--color-primary-rgb: 220 18 252;
--color-primary-hsl: 292 98% 53%;
}
.gradient-dc12fc {
background: linear-gradient(135deg, #dc12fc, #fc12a7);
}
.shadow-dc12fc {
box-shadow: 0 8px 24px rgb(220 18 252 / 0.35);
}
Electric Purple
#dc12fc rgb(220, 18, 252) hsl(292, 98%, 53%) Electric Purple
#32fc12 rgb(50, 252, 18) hsl(112, 98%, 53%) Neon Green
#fcdc12 rgb(252, 220, 18) hsl(52, 98%, 53%) Golden Yellow
#12fcdc rgb(18, 252, 220) hsl(172, 98%, 53%) Turquoise Blue