#8a5afa ≈ Medium Slate Blue
#8a5afa is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 54.12% red, 35.29% green and 98.04% blue; printed in CMYK it uses 44.8% cyan, 64% magenta, 0% yellow and 1.96% black. Its hue angle is 258°, with 94.12% saturation and 66.67% 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 4.92:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.53.
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.1962 |
Shades
#8a5afa mixed progressively with black.
Tints
#8a5afa mixed progressively with white.
Tones
#8a5afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a5afa {
color: #8a5afa;
}
.bg-8a5afa {
background-color: #8a5afa;
color: #000000;
}
.border-8a5afa {
border: 2px solid #8a5afa;
}
:root {
--color-primary: #8a5afa;
--color-primary-rgb: 138 90 250;
--color-primary-hsl: 258 94% 67%;
}
.gradient-8a5afa {
background: linear-gradient(135deg, #8a5afa, #da5afa);
}
.shadow-8a5afa {
box-shadow: 0 8px 24px rgb(138 90 250 / 0.35);
}
Medium Slate Blue
#8a5afa rgb(138, 90, 250) hsl(258, 94%, 67%) Medium Slate Blue
#cafa5a rgb(202, 250, 90) hsl(78, 94%, 67%) Inchworm
#fa8a5a rgb(250, 138, 90) hsl(18, 94%, 67%) Coral
#5afa8a rgb(90, 250, 138) hsl(138, 94%, 67%) Spring Green