#d40af3 ≈ Electric Purple
#d40af3 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 3.92% green and 95.29% blue; printed in CMYK it uses 12.76% cyan, 95.88% magenta, 0% yellow and 4.71% black. Its hue angle is 292.02°, with 92.09% saturation and 49.61% 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.14:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.38.
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.2069 |
Shades
#d40af3 mixed progressively with black.
Tints
#d40af3 mixed progressively with white.
Tones
#d40af3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d40af3 {
color: #d40af3;
}
.bg-d40af3 {
background-color: #d40af3;
color: #000000;
}
.border-d40af3 {
border: 2px solid #d40af3;
}
:root {
--color-primary: #d40af3;
--color-primary-rgb: 212 10 243;
--color-primary-hsl: 292 92% 50%;
}
.gradient-d40af3 {
background: linear-gradient(135deg, #d40af3, #f30a9d);
}
.shadow-d40af3 {
box-shadow: 0 8px 24px rgb(212 10 243 / 0.35);
}
Electric Purple
#d40af3 rgb(212, 10, 243) hsl(292, 92%, 50%) Electric Purple
#29f30a rgb(41, 243, 10) hsl(112, 92%, 50%) Lime
#f3d40a rgb(243, 212, 10) hsl(52, 92%, 50%) Gold
#0af3d4 rgb(10, 243, 212) hsl(172, 92%, 50%) Turquoise Blue