#8a5bef ≈ Medium Slate Blue
#8a5bef 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.69% green and 93.73% blue; printed in CMYK it uses 42.26% cyan, 61.92% magenta, 0% yellow and 6.27% black. Its hue angle is 259.05°, with 82.22% saturation and 64.71% 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.82:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 4.41.
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.1912 |
Shades
#8a5bef mixed progressively with black.
Tints
#8a5bef mixed progressively with white.
Tones
#8a5bef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a5bef {
color: #8a5bef;
}
.bg-8a5bef {
background-color: #8a5bef;
color: #000000;
}
.border-8a5bef {
border: 2px solid #8a5bef;
}
:root {
--color-primary: #8a5bef;
--color-primary-rgb: 138 91 239;
--color-primary-hsl: 259 82% 65%;
}
.gradient-8a5bef {
background: linear-gradient(135deg, #8a5bef, #d45bef);
}
.shadow-8a5bef {
box-shadow: 0 8px 24px rgb(138 91 239 / 0.35);
}
Medium Slate Blue
#8a5bef rgb(138, 91, 239) hsl(259, 82%, 65%) Medium Slate Blue
#c0ef5b rgb(192, 239, 91) hsl(79, 82%, 65%) Inchworm
#ef8a5b rgb(239, 138, 91) hsl(19, 82%, 65%) Coral
#5bef8a rgb(91, 239, 138) hsl(139, 82%, 65%) Medium Spring Green