#d40dfb ≈ Electric Purple
#d40dfb 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 98.43% blue; printed in CMYK it uses 15.54% cyan, 94.82% magenta, 0% yellow and 1.57% black. Its hue angle is 290.17°, with 96.75% saturation and 51.76% 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.25:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.2.
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.2125 |
Shades
#d40dfb mixed progressively with black.
Tints
#d40dfb mixed progressively with white.
Tones
#d40dfb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d40dfb {
color: #d40dfb;
}
.bg-d40dfb {
background-color: #d40dfb;
color: #000000;
}
.border-d40dfb {
border: 2px solid #d40dfb;
}
:root {
--color-primary: #d40dfb;
--color-primary-rgb: 212 13 251;
--color-primary-hsl: 290 97% 52%;
}
.gradient-d40dfb {
background: linear-gradient(135deg, #d40dfb, #fb0dab);
}
.shadow-d40dfb {
box-shadow: 0 8px 24px rgb(212 13 251 / 0.35);
}
Electric Purple
#d40dfb rgb(212, 13, 251) hsl(290, 97%, 52%) Electric Purple
#34fb0d rgb(52, 251, 13) hsl(110, 97%, 52%) Neon Green
#fbd40d rgb(251, 212, 13) hsl(50, 97%, 52%) Gold
#0dfbd4 rgb(13, 251, 212) hsl(170, 97%, 52%) Aquamarine