#d40ff3 ≈ Electric Purple
#d40ff3 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.88% green and 95.29% blue; printed in CMYK it uses 12.76% cyan, 93.83% magenta, 0% yellow and 4.71% black. Its hue angle is 291.84°, with 90.48% saturation and 50.59% 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.16:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.47.
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.2081 |
Shades
#d40ff3 mixed progressively with black.
Tints
#d40ff3 mixed progressively with white.
Tones
#d40ff3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d40ff3 {
color: #d40ff3;
}
.bg-d40ff3 {
background-color: #d40ff3;
color: #000000;
}
.border-d40ff3 {
border: 2px solid #d40ff3;
}
:root {
--color-primary: #d40ff3;
--color-primary-rgb: 212 15 243;
--color-primary-hsl: 292 90% 51%;
}
.gradient-d40ff3 {
background: linear-gradient(135deg, #d40ff3, #f30fa0);
}
.shadow-d40ff3 {
box-shadow: 0 8px 24px rgb(212 15 243 / 0.35);
}
Electric Purple
#d40ff3 rgb(212, 15, 243) hsl(292, 90%, 51%) Electric Purple
#2ef30f rgb(46, 243, 15) hsl(112, 90%, 51%) Lime
#f3d40f rgb(243, 212, 15) hsl(52, 90%, 51%) Gold
#0ff3d4 rgb(15, 243, 212) hsl(172, 90%, 51%) Turquoise Blue