#986AEF#986AEF

#986AEF is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.4% C 0.193 H 296.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#986AEF
RGBrgb(152, 106, 239)
HSLhsl(261, 81%, 68%)
HSVhsv(261, 56%, 94%)
CMYKcmyk(36.4%, 55.6%, 0%, 6.3%)
CIE-LABlab(55.29, 46.52, -60.77)
CIE-LCHlch(55.29, 76.53, 307.43°)
OKLaboklab(63.41% 0.0858 -0.1724)
OKLCHoklch(63.41% 0.193 296.5)
XYZxyz(33.6789, 23.2149, 84.3511)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AEF #C1EF6A
analogous
#6A7EEF #986AEF #DB6AEF
triadic
#986AEF #EF986A #6AEF98
tetradic
#986AEF #EF6A7E #C1EF6A #6AEFDB
square
#986AEF #EF6A7E #C1EF6A #6AEFDB
split-complementary
#986AEF #EFDB6A #7EEF6A
monochromatic
#5416C9 #7233E9 #986AEF #BEA1F5 #E4D9FB

Accessibility & contrast

On white

3.72
#986AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#986AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AEF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AEF#FFFFFF#000000##000000
##986AEF1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F3
Deuteranopia (green-blind)
#3A83EC
Tritanopia (blue-blind)
#8386A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986aef;
/* rgb */ color: rgb(152, 106, 239);
/* oklch */ color: oklch(63.4% 0.193 296.5);
Tailwind
colors: {
  custom: {
    50: '#bb96f5',
    500: '#986aef',
    950: '#000000',
  },
}
SCSS
$custom: #986aef;
$custom-light: #bb96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#986aef",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 260.752,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63412,
    "c": 0.19254,
    "h": 296.5
  },
  "luminance": 0.23215
}

Semantic roles & 50–950 ramp

primary
#986AEF
secondary
#E1EFC6
accent
#DD0993
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #986AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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