#dc0aff ≈ Electric Purple
#dc0aff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 3.92% green and 100% blue; printed in CMYK it uses 13.73% cyan, 96.08% magenta, 0% yellow and 0% black. Its hue angle is 291.43°, with 100% saturation and 51.96% 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.53:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.64.
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.2265 |
Shades
#dc0aff mixed progressively with black.
Tints
#dc0aff mixed progressively with white.
Tones
#dc0aff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc0aff {
color: #dc0aff;
}
.bg-dc0aff {
background-color: #dc0aff;
color: #000000;
}
.border-dc0aff {
border: 2px solid #dc0aff;
}
:root {
--color-primary: #dc0aff;
--color-primary-rgb: 220 10 255;
--color-primary-hsl: 291 100% 52%;
}
.gradient-dc0aff {
background: linear-gradient(135deg, #dc0aff, #ff0aa7);
}
.shadow-dc0aff {
box-shadow: 0 8px 24px rgb(220 10 255 / 0.35);
}
Electric Purple
#dc0aff rgb(220, 10, 255) hsl(291, 100%, 52%) Electric Purple
#2dff0a rgb(45, 255, 10) hsl(111, 100%, 52%) Neon Green
#ffdc0a rgb(255, 220, 10) hsl(51, 100%, 52%) Golden Yellow
#0affdc rgb(10, 255, 220) hsl(171, 100%, 52%) Turquoise Blue