#d331fc ≈ Electric Purple
#d331fc 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.82% blue; printed in CMYK it uses 16.27% cyan, 80.56% magenta, 0% yellow and 1.18% black. Its hue angle is 287.88°, with 97.13% saturation and 59.02% 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.61: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.2307 |
Shades
#d331fc mixed progressively with black.
Tints
#d331fc mixed progressively with white.
Tones
#d331fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d331fc {
color: #d331fc;
}
.bg-d331fc {
background-color: #d331fc;
color: #000000;
}
.border-d331fc {
border: 2px solid #d331fc;
}
:root {
--color-primary: #d331fc;
--color-primary-rgb: 211 49 252;
--color-primary-hsl: 288 97% 59%;
}
.gradient-d331fc {
background: linear-gradient(135deg, #d331fc, #fc31c0);
}
.shadow-d331fc {
box-shadow: 0 8px 24px rgb(211 49 252 / 0.35);
}
Electric Purple
#d331fc rgb(211, 49, 252) hsl(288, 97%, 59%) Electric Purple
#5afc31 rgb(90, 252, 49) hsl(108, 97%, 59%) Neon Green
#fcd331 rgb(252, 211, 49) hsl(48, 97%, 59%) Cyber Yellow
#31fcd3 rgb(49, 252, 211) hsl(168, 97%, 59%) Aquamarine