#985ef8 ≈ Medium Slate Blue
#985ef8 is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 59.61% red, 36.86% green and 97.25% blue; printed in CMYK it uses 38.71% cyan, 62.1% magenta, 0% yellow and 2.75% black. Its hue angle is 262.6°, with 91.67% 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 5.29:1 (WCAG AA). The closest named color is Medium Slate Blue (#7b68ee), ΔE 5.67.
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.2146 |
Shades
#985ef8 mixed progressively with black.
Tints
#985ef8 mixed progressively with white.
Tones
#985ef8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-985ef8 {
color: #985ef8;
}
.bg-985ef8 {
background-color: #985ef8;
color: #000000;
}
.border-985ef8 {
border: 2px solid #985ef8;
}
:root {
--color-primary: #985ef8;
--color-primary-rgb: 152 94 248;
--color-primary-hsl: 263 92% 67%;
}
.gradient-985ef8 {
background: linear-gradient(135deg, #985ef8, #e55ef8);
}
.shadow-985ef8 {
box-shadow: 0 8px 24px rgb(152 94 248 / 0.35);
}
Medium Slate Blue
#985ef8 rgb(152, 94, 248) hsl(263, 92%, 67%) Medium Slate Blue
#bef85e rgb(190, 248, 94) hsl(83, 92%, 67%) Inchworm
#f8985e rgb(248, 152, 94) hsl(23, 92%, 67%) Sandy Brown
#5ef898 rgb(94, 248, 152) hsl(143, 92%, 67%) Medium Spring Green