#986AE9#986AE9

#986AE9 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.0% C 0.185 H 297.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#986AE9
RGBrgb(152, 106, 233)
HSLhsl(262, 74%, 66%)
HSVhsv(262, 55%, 91%)
CMYKcmyk(34.8%, 54.5%, 0%, 8.6%)
CIE-LABlab(54.93, 44.98, -57.99)
CIE-LCHlch(54.93, 73.39, 307.80°)
OKLaboklab(63.03% 0.0857 -0.1642)
OKLCHoklch(63.03% 0.185 297.5)
XYZxyz(32.8072, 22.8662, 79.7602)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AE9 #BBE96A
analogous
#6A7CE9 #986AE9 #D76AE9
triadic
#986AE9 #E9986A #6AE998
tetradic
#986AE9 #E96A7C #BBE96A #6AE9D7
square
#986AE9 #E96A7C #BBE96A #6AE9D7
split-complementary
#986AE9 #E9D76A #7CE96A
monochromatic
#561CBD #7335E1 #986AE9 #BD9FF1 #E2D5F9

Accessibility & contrast

On white

3.77
#986AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#986AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AE9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AE9#FFFFFF#000000##000000
##986AE91.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384ED
Deuteranopia (green-blind)
#4182E6
Tritanopia (blue-blind)
#86849F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #986ae9;
/* rgb */ color: rgb(152, 106, 233);
/* oklch */ color: oklch(63.0% 0.185 297.5);
Tailwind
colors: {
  custom: {
    50: '#ba96f1',
    500: '#986ae9',
    950: '#000000',
  },
}
SCSS
$custom: #986ae9;
$custom-light: #ba96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#986ae9",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 233
  },
  "hsl": {
    "h": 261.732,
    "s": 74.269,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63032,
    "c": 0.18522,
    "h": 297.5
  },
  "luminance": 0.22867
}

Semantic roles & 50–950 ramp

primary
#986AE9
secondary
#DDECC3
accent
#D60F8E
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #986AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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