#dc04ff ≈ Electric Purple
#dc04ff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 1.57% green and 100% blue; printed in CMYK it uses 13.73% cyan, 98.43% magenta, 0% yellow and 0% black. Its hue angle is 291.63°, with 100% saturation and 50.78% 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.5:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.54.
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.2252 |
Shades
#dc04ff mixed progressively with black.
Tints
#dc04ff mixed progressively with white.
Tones
#dc04ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc04ff {
color: #dc04ff;
}
.bg-dc04ff {
background-color: #dc04ff;
color: #000000;
}
.border-dc04ff {
border: 2px solid #dc04ff;
}
:root {
--color-primary: #dc04ff;
--color-primary-rgb: 220 4 255;
--color-primary-hsl: 292 100% 51%;
}
.gradient-dc04ff {
background: linear-gradient(135deg, #dc04ff, #ff04a5);
}
.shadow-dc04ff {
box-shadow: 0 8px 24px rgb(220 4 255 / 0.35);
}
Electric Purple
#dc04ff rgb(220, 4, 255) hsl(292, 100%, 51%) Electric Purple
#27ff04 rgb(39, 255, 4) hsl(112, 100%, 51%) Neon Green
#ffdc04 rgb(255, 220, 4) hsl(52, 100%, 51%) Golden Yellow
#04ffdc rgb(4, 255, 220) hsl(172, 100%, 51%) Turquoise Blue