#d31dfa ≈ Electric Purple
#d31dfa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 11.37% green and 98.04% blue; printed in CMYK it uses 15.6% cyan, 88.4% magenta, 0% yellow and 1.96% black. Its hue angle is 289.41°, with 95.67% saturation and 54.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 5.33:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.53.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2163 |
Shades
#d31dfa mixed progressively with black.
Tints
#d31dfa mixed progressively with white.
Tones
#d31dfa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31dfa {
color: #d31dfa;
}
.bg-d31dfa {
background-color: #d31dfa;
color: #000000;
}
.border-d31dfa {
border: 2px solid #d31dfa;
}
:root {
--color-primary: #d31dfa;
--color-primary-rgb: 211 29 250;
--color-primary-hsl: 289 96% 55%;
}
.gradient-d31dfa {
background: linear-gradient(135deg, #d31dfa, #fa1db3);
}
.shadow-d31dfa {
box-shadow: 0 8px 24px rgb(211 29 250 / 0.35);
}
Electric Purple
#d31dfa rgb(211, 29, 250) hsl(289, 96%, 55%) Electric Purple
#44fa1d rgb(68, 250, 29) hsl(109, 96%, 55%) Neon Green
#fad31d rgb(250, 211, 29) hsl(49, 96%, 55%) Gold
#1dfad3 rgb(29, 250, 211) hsl(169, 96%, 55%) Aquamarine