#d407dc ≈ Electric Purple
#d407dc 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.75% green and 86.27% blue; printed in CMYK it uses 3.64% cyan, 96.82% magenta, 0% yellow and 13.73% black. Its hue angle is 297.75°, with 93.83% saturation and 44.51% 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.28.
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.1932 |
Shades
#d407dc mixed progressively with black.
Tints
#d407dc mixed progressively with white.
Tones
#d407dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d407dc {
color: #d407dc;
}
.bg-d407dc {
background-color: #d407dc;
color: #000000;
}
.border-d407dc {
border: 2px solid #d407dc;
}
:root {
--color-primary: #d407dc;
--color-primary-rgb: 212 7 220;
--color-primary-hsl: 298 94% 45%;
}
.gradient-d407dc {
background: linear-gradient(135deg, #d407dc, #dc0779);
}
.shadow-d407dc {
box-shadow: 0 8px 24px rgb(212 7 220 / 0.35);
}
Electric Purple
#d407dc rgb(212, 7, 220) hsl(298, 94%, 45%) Electric Purple
#0fdc07 rgb(15, 220, 7) hsl(118, 94%, 45%) Lime Green
#dcd407 rgb(220, 212, 7) hsl(58, 94%, 45%) Citrine
#07dcd4 rgb(7, 220, 212) hsl(178, 94%, 45%) Bright Turquoise