#d406dc ≈ Electric Purple
#d406dc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 2.35% green and 86.27% blue; printed in CMYK it uses 3.64% cyan, 97.27% magenta, 0% yellow and 13.73% black. Its hue angle is 297.76°, with 94.69% saturation and 44.31% 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 4.86:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.27.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1929 |
Shades
#d406dc mixed progressively with black.
Tints
#d406dc mixed progressively with white.
Tones
#d406dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d406dc {
color: #d406dc;
}
.bg-d406dc {
background-color: #d406dc;
color: #000000;
}
.border-d406dc {
border: 2px solid #d406dc;
}
:root {
--color-primary: #d406dc;
--color-primary-rgb: 212 6 220;
--color-primary-hsl: 298 95% 44%;
}
.gradient-d406dc {
background: linear-gradient(135deg, #d406dc, #dc0679);
}
.shadow-d406dc {
box-shadow: 0 8px 24px rgb(212 6 220 / 0.35);
}
Electric Purple
#d406dc rgb(212, 6, 220) hsl(298, 95%, 44%) Electric Purple
#0edc06 rgb(14, 220, 6) hsl(118, 95%, 44%) Lime Green
#dcd406 rgb(220, 212, 6) hsl(58, 95%, 44%) Citrine
#06dcd4 rgb(6, 220, 212) hsl(178, 95%, 44%) Bright Turquoise