#d31feb ≈ Electric Purple
#d31feb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 12.16% green and 92.16% blue; printed in CMYK it uses 10.21% cyan, 86.81% magenta, 0% yellow and 7.84% black. Its hue angle is 292.94°, with 83.61% saturation and 52.16% 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.17:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.2.
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.2083 |
Shades
#d31feb mixed progressively with black.
Tints
#d31feb mixed progressively with white.
Tones
#d31feb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31feb {
color: #d31feb;
}
.bg-d31feb {
background-color: #d31feb;
color: #000000;
}
.border-d31feb {
border: 2px solid #d31feb;
}
:root {
--color-primary: #d31feb;
--color-primary-rgb: 211 31 235;
--color-primary-hsl: 293 84% 52%;
}
.gradient-d31feb {
background: linear-gradient(135deg, #d31feb, #eb1f9d);
}
.shadow-d31feb {
box-shadow: 0 8px 24px rgb(211 31 235 / 0.35);
}
Electric Purple
#d31feb rgb(211, 31, 235) hsl(293, 84%, 52%) Electric Purple
#37eb1f rgb(55, 235, 31) hsl(113, 84%, 52%) Lime
#ebd31f rgb(235, 211, 31) hsl(53, 84%, 52%) Citrine
#1febd3 rgb(31, 235, 211) hsl(173, 84%, 52%) Turquoise