#d40ddc ≈ Electric Purple
#d40ddc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 5.1% green and 86.27% blue; printed in CMYK it uses 3.64% cyan, 94.09% magenta, 0% yellow and 13.73% black. Its hue angle is 297.68°, with 88.84% saturation and 45.69% 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.89:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.33.
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.1945 |
Shades
#d40ddc mixed progressively with black.
Tints
#d40ddc mixed progressively with white.
Tones
#d40ddc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d40ddc {
color: #d40ddc;
}
.bg-d40ddc {
background-color: #d40ddc;
color: #000000;
}
.border-d40ddc {
border: 2px solid #d40ddc;
}
:root {
--color-primary: #d40ddc;
--color-primary-rgb: 212 13 220;
--color-primary-hsl: 298 89% 46%;
}
.gradient-d40ddc {
background: linear-gradient(135deg, #d40ddc, #dc0d7d);
}
.shadow-d40ddc {
box-shadow: 0 8px 24px rgb(212 13 220 / 0.35);
}
Electric Purple
#d40ddc rgb(212, 13, 220) hsl(298, 89%, 46%) Electric Purple
#15dc0d rgb(21, 220, 13) hsl(118, 89%, 46%) Lime Green
#dcd40d rgb(220, 212, 13) hsl(58, 89%, 46%) Citrine
#0ddcd4 rgb(13, 220, 212) hsl(178, 89%, 46%) Bright Turquoise