#985EE9#985EE9

#985EE9 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.2% C 0.202 H 299.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#985EE9
RGBrgb(152, 94, 233)
HSLhsl(265, 76%, 64%)
HSVhsv(265, 60%, 91%)
CMYKcmyk(34.8%, 59.7%, 0%, 8.6%)
CIE-LABlab(52.47, 51.46, -61.95)
CIE-LCHlch(52.47, 80.54, 309.72°)
OKLaboklab(61.22% 0.1 -0.1758)
OKLCHoklch(61.22% 0.202 299.6)
XYZxyz(31.6560, 20.5637, 79.3764)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EE9 #AFE95E
analogous
#5E6AE9 #985EE9 #DE5EE9
triadic
#985EE9 #E9985E #5EE998
tetradic
#985EE9 #E95E6A #AFE95E #5EE9DE
square
#985EE9 #E95E6A #AFE95E #5EE9DE
split-complementary
#985EE9 #E9DE5E #6AE95E
monochromatic
#5919B4 #7628E2 #985EE9 #BA94F0 #DDCAF8

Accessibility & contrast

On white

4.11
#985EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#985EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EE9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EE9#FFFFFF#000000##000000
##985EE91.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DED
Deuteranopia (green-blind)
#2D7CE6
Tritanopia (blue-blind)
#867C9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985ee9;
/* rgb */ color: rgb(152, 94, 233);
/* oklch */ color: oklch(61.2% 0.202 299.6);
Tailwind
colors: {
  custom: {
    50: '#bb8ef1',
    500: '#985ee9',
    950: '#000000',
  },
}
SCSS
$custom: #985ee9;
$custom-light: #bb8ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#985ee9",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 265.036,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61223,
    "c": 0.2023,
    "h": 299.6
  },
  "luminance": 0.20564
}

Semantic roles & 50–950 ramp

primary
#985EE9
secondary
#D5EAB9
accent
#D80D84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #985EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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