#8f51ec ≈ Medium Slate Blue
#8f51ec is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 56.08% red, 31.76% green and 92.55% blue; printed in CMYK it uses 39.41% cyan, 65.68% magenta, 0% yellow and 7.45% black. Its hue angle is 264°, 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.61:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 6.87.
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.1778 |
Shades
#8f51ec mixed progressively with black.
Tints
#8f51ec mixed progressively with white.
Tones
#8f51ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8f51ec {
color: #8f51ec;
}
.bg-8f51ec {
background-color: #8f51ec;
color: #ffffff;
}
.border-8f51ec {
border: 2px solid #8f51ec;
}
:root {
--color-primary: #8f51ec;
--color-primary-rgb: 143 81 236;
--color-primary-hsl: 264 80% 62%;
}
.gradient-8f51ec {
background: linear-gradient(135deg, #8f51ec, #dd51ec);
}
.shadow-8f51ec {
box-shadow: 0 8px 24px rgb(143 81 236 / 0.35);
}
Medium Slate Blue
#8f51ec rgb(143, 81, 236) hsl(264, 80%, 62%) Medium Slate Blue
#aeec51 rgb(174, 236, 81) hsl(84, 80%, 62%) Inchworm
#ec8f51 rgb(236, 143, 81) hsl(24, 80%, 62%) Persian Orange
#51ec8f rgb(81, 236, 143) hsl(144, 80%, 62%) Medium Spring Green