#d31cfb ≈ Electric Purple
#d31cfb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.75% red, 10.98% green and 98.43% blue; printed in CMYK it uses 15.94% cyan, 88.84% magenta, 0% yellow and 1.57% black. Its hue angle is 289.24°, with 96.54% 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.48.
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.2164 |
Shades
#d31cfb mixed progressively with black.
Tints
#d31cfb mixed progressively with white.
Tones
#d31cfb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31cfb {
color: #d31cfb;
}
.bg-d31cfb {
background-color: #d31cfb;
color: #000000;
}
.border-d31cfb {
border: 2px solid #d31cfb;
}
:root {
--color-primary: #d31cfb;
--color-primary-rgb: 211 28 251;
--color-primary-hsl: 289 97% 55%;
}
.gradient-d31cfb {
background: linear-gradient(135deg, #d31cfb, #fb1cb3);
}
.shadow-d31cfb {
box-shadow: 0 8px 24px rgb(211 28 251 / 0.35);
}
Electric Purple
#d31cfb rgb(211, 28, 251) hsl(289, 97%, 55%) Electric Purple
#44fb1c rgb(68, 251, 28) hsl(109, 97%, 55%) Neon Green
#fbd31c rgb(251, 211, 28) hsl(49, 97%, 55%) Cyber Yellow
#1cfbd3 rgb(28, 251, 211) hsl(169, 97%, 55%) Aquamarine