#985EE6#985EE6

#985EE6 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.0% C 0.199 H 300.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#985EE6
RGBrgb(152, 94, 230)
HSLhsl(266, 73%, 64%)
HSVhsv(266, 59%, 90%)
CMYKcmyk(33.9%, 59.1%, 0%, 9.8%)
CIE-LABlab(52.28, 50.72, -60.57)
CIE-LCHlch(52.28, 79.00, 309.94°)
OKLaboklab(61.03% 0.1001 -0.1718)
OKLCHoklch(61.03% 0.199 300.2)
XYZxyz(31.2311, 20.3938, 77.1386)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EE6 #ACE65E
analogous
#5E68E6 #985EE6 #DC5EE6
triadic
#985EE6 #E6985E #5EE698
tetradic
#985EE6 #E65E68 #ACE65E #5EE6DC
square
#985EE6 #E65E68 #ACE65E #5EE6DC
split-complementary
#985EE6 #E6DC5E #68E65E
monochromatic
#5A1BAF #7629DE #985EE6 #BA93EE #DCC8F6

Accessibility & contrast

On white

4.13
#985EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#985EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985EE6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EE6#FFFFFF#000000##000000
##985EE61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7CEA
Deuteranopia (green-blind)
#317CE3
Tritanopia (blue-blind)
#877B99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #985ee6;
/* rgb */ color: rgb(152, 94, 230);
/* oklch */ color: oklch(61.0% 0.199 300.2);
Tailwind
colors: {
  custom: {
    50: '#bb8eef',
    500: '#985ee6',
    950: '#000000',
  },
}
SCSS
$custom: #985ee6;
$custom-light: #bb8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#985ee6",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 265.588,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61025,
    "c": 0.19882,
    "h": 300.2
  },
  "luminance": 0.20394
}

Semantic roles & 50–950 ramp

primary
#985EE6
secondary
#D3E8B8
accent
#D51081
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #985EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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