#871dfd ≈ Electric Violet
#871dfd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 52.94% red, 11.37% green and 99.22% blue; printed in CMYK it uses 46.64% cyan, 88.54% magenta, 0% yellow and 0.78% black. Its hue angle is 268.39°, with 98.25% saturation and 55.29% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 5.79:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 1.34.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1312 |
Shades
#871dfd mixed progressively with black.
Tints
#871dfd mixed progressively with white.
Tones
#871dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-871dfd {
color: #871dfd;
}
.bg-871dfd {
background-color: #871dfd;
color: #ffffff;
}
.border-871dfd {
border: 2px solid #871dfd;
}
:root {
--color-primary: #871dfd;
--color-primary-rgb: 135 29 253;
--color-primary-hsl: 268 98% 55%;
}
.gradient-871dfd {
background: linear-gradient(135deg, #871dfd, #f71dfd);
}
.shadow-871dfd {
box-shadow: 0 8px 24px rgb(135 29 253 / 0.35);
}
Electric Violet
#871dfd rgb(135, 29, 253) hsl(268, 98%, 55%) Electric Violet
#93fd1d rgb(147, 253, 29) hsl(88, 98%, 55%) Chartreuse
#fd871d rgb(253, 135, 29) hsl(28, 98%, 55%) Cadmium Orange
#1dfd87 rgb(29, 253, 135) hsl(148, 98%, 55%) Spring Green