#8a5cfa ≈ Medium Slate Blue
#8a5cfa 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.08% green and 98.04% blue; printed in CMYK it uses 44.8% cyan, 63.2% magenta, 0% yellow and 1.96% black. Its hue angle is 257.47°, with 94.05% saturation and 67.06% 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.99:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.19.
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.1996 |
Shades
#8a5cfa mixed progressively with black.
Tints
#8a5cfa mixed progressively with white.
Tones
#8a5cfa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a5cfa {
color: #8a5cfa;
}
.bg-8a5cfa {
background-color: #8a5cfa;
color: #000000;
}
.border-8a5cfa {
border: 2px solid #8a5cfa;
}
:root {
--color-primary: #8a5cfa;
--color-primary-rgb: 138 92 250;
--color-primary-hsl: 257 94% 67%;
}
.gradient-8a5cfa {
background: linear-gradient(135deg, #8a5cfa, #d95cfa);
}
.shadow-8a5cfa {
box-shadow: 0 8px 24px rgb(138 92 250 / 0.35);
}
Medium Slate Blue
#8a5cfa rgb(138, 92, 250) hsl(257, 94%, 67%) Medium Slate Blue
#ccfa5c rgb(204, 250, 92) hsl(77, 94%, 67%) Inchworm
#fa8a5c rgb(250, 138, 92) hsl(17, 94%, 67%) Coral
#5cfa8a rgb(92, 250, 138) hsl(137, 94%, 67%) Spring Green