#8a51ec ≈ Medium Slate Blue
#8a51ec is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 54.12% red, 31.76% green and 92.55% blue; printed in CMYK it uses 41.53% cyan, 65.68% magenta, 0% yellow and 7.45% black. Its hue angle is 262.06°, with 80.31% saturation and 62.16% 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. White text on this color reaches a contrast ratio of 4.7:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.59.
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.1734 |
Shades
#8a51ec mixed progressively with black.
Tints
#8a51ec mixed progressively with white.
Tones
#8a51ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a51ec {
color: #8a51ec;
}
.bg-8a51ec {
background-color: #8a51ec;
color: #ffffff;
}
.border-8a51ec {
border: 2px solid #8a51ec;
}
:root {
--color-primary: #8a51ec;
--color-primary-rgb: 138 81 236;
--color-primary-hsl: 262 80% 62%;
}
.gradient-8a51ec {
background: linear-gradient(135deg, #8a51ec, #d751ec);
}
.shadow-8a51ec {
box-shadow: 0 8px 24px rgb(138 81 236 / 0.35);
}
Medium Slate Blue
#8a51ec rgb(138, 81, 236) hsl(262, 80%, 62%) Medium Slate Blue
#b3ec51 rgb(179, 236, 81) hsl(82, 80%, 62%) Inchworm
#ec8a51 rgb(236, 138, 81) hsl(22, 80%, 62%) Mango Tango
#51ec8a rgb(81, 236, 138) hsl(142, 80%, 62%) Medium Spring Green