#d331fa ≈ Electric Purple
#d331fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 19.22% green and 98.04% blue; printed in CMYK it uses 15.6% cyan, 80.4% magenta, 0% yellow and 1.96% black. Its hue angle is 288.36°, with 95.26% saturation and 58.63% 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.59:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.78.
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.2295 |
Shades
#d331fa mixed progressively with black.
Tints
#d331fa mixed progressively with white.
Tones
#d331fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d331fa {
color: #d331fa;
}
.bg-d331fa {
background-color: #d331fa;
color: #000000;
}
.border-d331fa {
border: 2px solid #d331fa;
}
:root {
--color-primary: #d331fa;
--color-primary-rgb: 211 49 250;
--color-primary-hsl: 288 95% 59%;
}
.gradient-d331fa {
background: linear-gradient(135deg, #d331fa, #fa31bc);
}
.shadow-d331fa {
box-shadow: 0 8px 24px rgb(211 49 250 / 0.35);
}
Electric Purple
#d331fa rgb(211, 49, 250) hsl(288, 95%, 59%) Electric Purple
#58fa31 rgb(88, 250, 49) hsl(108, 95%, 59%) Neon Green
#fad331 rgb(250, 211, 49) hsl(48, 95%, 59%) Cyber Yellow
#31fad3 rgb(49, 250, 211) hsl(168, 95%, 59%) Aquamarine