#d40cd8 ≈ Electric Purple
#d40cd8 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 4.71% green and 84.71% blue; printed in CMYK it uses 1.85% cyan, 94.44% magenta, 0% yellow and 15.29% black. Its hue angle is 298.82°, with 89.47% saturation and 44.71% 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.84:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.78.
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.1922 |
Shades
#d40cd8 mixed progressively with black.
Tints
#d40cd8 mixed progressively with white.
Tones
#d40cd8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d40cd8 {
color: #d40cd8;
}
.bg-d40cd8 {
background-color: #d40cd8;
color: #000000;
}
.border-d40cd8 {
border: 2px solid #d40cd8;
}
:root {
--color-primary: #d40cd8;
--color-primary-rgb: 212 12 216;
--color-primary-hsl: 299 89% 45%;
}
.gradient-d40cd8 {
background: linear-gradient(135deg, #d40cd8, #d80c76);
}
.shadow-d40cd8 {
box-shadow: 0 8px 24px rgb(212 12 216 / 0.35);
}
Electric Purple
#d40cd8 rgb(212, 12, 216) hsl(299, 89%, 45%) Electric Purple
#10d80c rgb(16, 216, 12) hsl(119, 89%, 45%) Lime Green
#d8d40c rgb(216, 212, 12) hsl(59, 89%, 45%) Citrine
#0cd8d4 rgb(12, 216, 212) hsl(179, 89%, 45%) Medium Turquoise