#986CE9#986CE9

#986CE9 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.182 H 297.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#986CE9
RGBrgb(152, 108, 233)
HSLhsl(261, 74%, 67%)
HSVhsv(261, 54%, 91%)
CMYKcmyk(34.8%, 53.6%, 0%, 8.6%)
CIE-LABlab(55.36, 43.88, -57.30)
CIE-LCHlch(55.36, 72.17, 307.44°)
OKLaboklab(63.35% 0.0832 -0.1622)
OKLCHoklch(63.35% 0.182 297.2)
XYZxyz(33.0158, 23.2833, 79.8297)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CE9 #BDE96C
analogous
#6C7FE9 #986CE9 #D76CE9
triadic
#986CE9 #E9986C #6CE998
tetradic
#986CE9 #E96C7F #BDE96C #6CE9D7
square
#986CE9 #E96C7F #BDE96C #6CE9D7
split-complementary
#986CE9 #E9D76C #7FE96C
monochromatic
#551CBE #7337E1 #986CE9 #BDA1F1 #E3D6F9

Accessibility & contrast

On white

3.71
#986CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#986CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CE9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CE9#FFFFFF#000000##000000
##986CE91.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785ED
Deuteranopia (green-blind)
#4483E6
Tritanopia (blue-blind)
#8685A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986ce9;
/* rgb */ color: rgb(152, 108, 233);
/* oklch */ color: oklch(63.3% 0.182 297.2);
Tailwind
colors: {
  custom: {
    50: '#ba97f1',
    500: '#986ce9',
    950: '#000000',
  },
}
SCSS
$custom: #986ce9;
$custom-light: #ba97f1;
$custom-dark: #000000;
JSON
{
  "hex": "#986ce9",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 233
  },
  "hsl": {
    "h": 261.12,
    "s": 73.964,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63349,
    "c": 0.1823,
    "h": 297.2
  },
  "luminance": 0.23284
}

Semantic roles & 50–950 ramp

primary
#986CE9
secondary
#DEECC4
accent
#D60F90
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #986CE9

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

Preview Lab → · Contrast checker → · Palette generator →

#986CE9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva