#985EEF#985EEF

#985EEF is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.6% C 0.209 H 298.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#985EEF
RGBrgb(152, 94, 239)
HSLhsl(264, 82%, 65%)
HSVhsv(264, 61%, 94%)
CMYKcmyk(36.4%, 60.7%, 0%, 6.3%)
CIE-LABlab(52.85, 52.95, -64.69)
CIE-LCHlch(52.85, 83.60, 309.30°)
OKLaboklab(61.63% 0.0998 -0.1839)
OKLCHoklch(61.63% 0.209 298.5)
XYZxyz(32.5277, 20.9124, 83.9674)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EEF #B5EF5E
analogous
#5E6CEF #985EEF #E05EEF
triadic
#985EEF #EF985E #5EEF98
tetradic
#985EEF #EF5E6C #B5EF5E #5EEFE0
square
#985EEF #EF5E6C #B5EF5E #5EEFE0
split-complementary
#985EEF #EFE05E #6CEF5E
monochromatic
#5813C0 #7426E9 #985EEF #BC96F5 #DFCDFA

Accessibility & contrast

On white

4.05
#985EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#985EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EEF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EEF#FFFFFF#000000##000000
##985EEF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#217DEC
Tritanopia (blue-blind)
#847E9E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #985eef;
/* rgb */ color: rgb(152, 94, 239);
/* oklch */ color: oklch(61.6% 0.209 298.5);
Tailwind
colors: {
  custom: {
    50: '#bb8ef5',
    500: '#985eef',
    950: '#000000',
  },
}
SCSS
$custom: #985eef;
$custom-light: #bb8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#985eef",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 264,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61626,
    "c": 0.20922,
    "h": 298.5
  },
  "luminance": 0.20913
}

Semantic roles & 50–950 ramp

primary
#985EEF
secondary
#D9EDBC
accent
#DE0788
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #985EEF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#985EEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva