#986AEE#986AEE

#986AEE is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.3% C 0.191 H 296.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#986AEE
RGBrgb(152, 106, 238)
HSLhsl(261, 80%, 67%)
HSVhsv(261, 55%, 93%)
CMYKcmyk(36.1%, 55.5%, 0%, 6.7%)
CIE-LABlab(55.23, 46.26, -60.31)
CIE-LCHlch(55.23, 76.01, 307.49°)
OKLaboklab(63.35% 0.0858 -0.171)
OKLCHoklch(63.35% 0.191 296.6)
XYZxyz(33.5316, 23.1560, 83.5753)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AEE #C0EE6A
analogous
#6A7EEE #986AEE #DA6AEE
triadic
#986AEE #EE986A #6AEE98
tetradic
#986AEE #EE6A7E #C0EE6A #6AEEDA
square
#986AEE #EE6A7E #C0EE6A #6AEEDA
split-complementary
#986AEE #EEDA6A #7EEE6A
monochromatic
#5417C7 #7233E8 #986AEE #BEA1F4 #E4D8FB

Accessibility & contrast

On white

3.73
#986AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#986AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AEE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AEE#FFFFFF#000000##000000
##986AEE1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#3C83EB
Tritanopia (blue-blind)
#8485A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986aee;
/* rgb */ color: rgb(152, 106, 238);
/* oklch */ color: oklch(63.3% 0.191 296.6);
Tailwind
colors: {
  custom: {
    50: '#bb96f4',
    500: '#986aee',
    950: '#000000',
  },
}
SCSS
$custom: #986aee;
$custom-light: #bb96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#986aee",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 260.909,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63348,
    "c": 0.19132,
    "h": 296.6
  },
  "luminance": 0.23157
}

Semantic roles & 50–950 ramp

primary
#986AEE
secondary
#E0EFC5
accent
#DC0A93
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #986AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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