#8a5dfd ≈ Medium Slate Blue
#8a5dfd is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 54.12% red, 36.47% green and 99.22% blue; printed in CMYK it uses 45.45% cyan, 63.24% magenta, 0% yellow and 0.78% black. Its hue angle is 256.88°, with 97.56% saturation and 67.84% 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. Black text on this color reaches a contrast ratio of 5.06:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.11.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9966ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2032 |
Shades
#8a5dfd mixed progressively with black.
Tints
#8a5dfd mixed progressively with white.
Tones
#8a5dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a5dfd {
color: #8a5dfd;
}
.bg-8a5dfd {
background-color: #8a5dfd;
color: #000000;
}
.border-8a5dfd {
border: 2px solid #8a5dfd;
}
:root {
--color-primary: #8a5dfd;
--color-primary-rgb: 138 93 253;
--color-primary-hsl: 257 98% 68%;
}
.gradient-8a5dfd {
background: linear-gradient(135deg, #8a5dfd, #da5dfd);
}
.shadow-8a5dfd {
box-shadow: 0 8px 24px rgb(138 93 253 / 0.35);
}
Medium Slate Blue
#8a5dfd rgb(138, 93, 253) hsl(257, 98%, 68%) Medium Slate Blue
#d0fd5d rgb(208, 253, 93) hsl(77, 98%, 68%) Electric Lime
#fd8a5d rgb(253, 138, 93) hsl(17, 98%, 68%) Coral
#5dfd8a rgb(93, 253, 138) hsl(137, 98%, 68%) Spring Green