#8a6cef ≈ Medium Slate Blue
#8a6cef is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 54.12% red, 42.35% green and 93.73% blue; printed in CMYK it uses 42.26% cyan, 54.81% magenta, 0% yellow and 6.27% black. Its hue angle is 253.74°, with 80.37% saturation and 68.04% 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.47:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 2.88.
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.2236 |
Shades
#8a6cef mixed progressively with black.
Tints
#8a6cef mixed progressively with white.
Tones
#8a6cef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a6cef {
color: #8a6cef;
}
.bg-8a6cef {
background-color: #8a6cef;
color: #000000;
}
.border-8a6cef {
border: 2px solid #8a6cef;
}
:root {
--color-primary: #8a6cef;
--color-primary-rgb: 138 108 239;
--color-primary-hsl: 254 80% 68%;
}
.gradient-8a6cef {
background: linear-gradient(135deg, #8a6cef, #cc6cef);
}
.shadow-8a6cef {
box-shadow: 0 8px 24px rgb(138 108 239 / 0.35);
}
Medium Slate Blue
#8a6cef rgb(138, 108, 239) hsl(254, 80%, 68%) Medium Slate Blue
#d1ef6c rgb(209, 239, 108) hsl(74, 80%, 68%) June Bud
#ef8a6c rgb(239, 138, 108) hsl(14, 80%, 68%) Dark Salmon
#6cef8a rgb(108, 239, 138) hsl(134, 80%, 68%) Light Green