#985EF8

#985ef8 ≈ Medium Slate Blue

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#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.

Conversions of #985ef8 into other color spaces
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 luminance0.2146

Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #8a74bc ≈ 0.001% of males
Protanopia #0080fd ≈ 1.01% of males
Deuteranopia #007ef5 ≈ 1.27% of males
Tritanopia #8181a3 ≈ 0.0001% of males
Protanomaly #5d74fb ≈ 1.08% of males
Deuteranomaly #6372f6 ≈ 4.63% of males
Tritanomaly #8b74cb ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-985ef8 {
  color: #985ef8;
}
Background
.bg-985ef8 {
  background-color: #985ef8;
  color: #000000;
}
Border
.border-985ef8 {
  border: 2px solid #985ef8;
}
CSS variables
:root {
  --color-primary: #985ef8;
  --color-primary-rgb: 152 94 248;
  --color-primary-hsl: 263 92% 67%;
}
Gradient
.gradient-985ef8 {
  background: linear-gradient(135deg, #985ef8, #e55ef8);
}
Colored shadow
.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