#dc0afa ≈ Electric Purple
#dc0afa 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 98.04% blue; printed in CMYK it uses 12% cyan, 96% magenta, 0% yellow and 1.96% black. Its hue angle is 292.5°, with 96% 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.47:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.67.
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.2233 |
Shades
#dc0afa mixed progressively with black.
Tints
#dc0afa mixed progressively with white.
Tones
#dc0afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc0afa {
color: #dc0afa;
}
.bg-dc0afa {
background-color: #dc0afa;
color: #000000;
}
.border-dc0afa {
border: 2px solid #dc0afa;
}
:root {
--color-primary: #dc0afa;
--color-primary-rgb: 220 10 250;
--color-primary-hsl: 293 96% 51%;
}
.gradient-dc0afa {
background: linear-gradient(135deg, #dc0afa, #fa0aa0);
}
.shadow-dc0afa {
box-shadow: 0 8px 24px rgb(220 10 250 / 0.35);
}
Electric Purple
#dc0afa rgb(220, 10, 250) hsl(293, 96%, 51%) Electric Purple
#28fa0a rgb(40, 250, 10) hsl(113, 96%, 51%) Lime
#fadc0a rgb(250, 220, 10) hsl(53, 96%, 51%) Golden Yellow
#0afadc rgb(10, 250, 220) hsl(173, 96%, 51%) Turquoise Blue