#dc0cf8 ≈ Electric Purple
#dc0cf8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 4.71% green and 97.25% blue; printed in CMYK it uses 11.29% cyan, 95.16% magenta, 0% yellow and 2.75% black. Its hue angle is 292.88°, with 94.4% saturation and 50.98% 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.45:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.74.
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.2226 |
Shades
#dc0cf8 mixed progressively with black.
Tints
#dc0cf8 mixed progressively with white.
Tones
#dc0cf8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc0cf8 {
color: #dc0cf8;
}
.bg-dc0cf8 {
background-color: #dc0cf8;
color: #000000;
}
.border-dc0cf8 {
border: 2px solid #dc0cf8;
}
:root {
--color-primary: #dc0cf8;
--color-primary-rgb: 220 12 248;
--color-primary-hsl: 293 94% 51%;
}
.gradient-dc0cf8 {
background: linear-gradient(135deg, #dc0cf8, #f80c9e);
}
.shadow-dc0cf8 {
box-shadow: 0 8px 24px rgb(220 12 248 / 0.35);
}
Electric Purple
#dc0cf8 rgb(220, 12, 248) hsl(293, 94%, 51%) Electric Purple
#28f80c rgb(40, 248, 12) hsl(113, 94%, 51%) Lime
#f8dc0c rgb(248, 220, 12) hsl(53, 94%, 51%) Golden Yellow
#0cf8dc rgb(12, 248, 220) hsl(173, 94%, 51%) Turquoise Blue