#986FE9#986FE9

#986FE9 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.8% C 0.178 H 296.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#986FE9
RGBrgb(152, 111, 233)
HSLhsl(260, 73%, 67%)
HSVhsv(260, 52%, 91%)
CMYKcmyk(34.8%, 52.4%, 0%, 8.6%)
CIE-LABlab(56.01, 42.21, -56.26)
CIE-LCHlch(56.01, 70.33, 306.88°)
OKLaboklab(63.83% 0.0795 -0.1592)
OKLCHoklch(63.83% 0.178 296.5)
XYZxyz(33.3376, 23.9270, 79.9370)
Luminance0.2393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FE9 #C0E96F
analogous
#6F83E9 #986FE9 #D56FE9
triadic
#986FE9 #E9986F #6FE998
tetradic
#986FE9 #E96F83 #C0E96F #6FE9D5
square
#986FE9 #E96F83 #C0E96F #6FE9D5
split-complementary
#986FE9 #E9D56F #83E96F
monochromatic
#541DC0 #723AE1 #986FE9 #BEA4F1 #E4D9F9

Accessibility & contrast

On white

3.63
#986FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#986FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FE9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FE9#FFFFFF#000000##000000
##986FE91.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87ED
Deuteranopia (green-blind)
#4985E6
Tritanopia (blue-blind)
#8587A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986fe9;
/* rgb */ color: rgb(152, 111, 233);
/* oklch */ color: oklch(63.8% 0.178 296.5);
Tailwind
colors: {
  custom: {
    50: '#ba99f1',
    500: '#986fe9',
    950: '#000000',
  },
}
SCSS
$custom: #986fe9;
$custom-light: #ba99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#986fe9",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 233
  },
  "hsl": {
    "h": 260.164,
    "s": 73.494,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63831,
    "c": 0.17789,
    "h": 296.5
  },
  "luminance": 0.23927
}

Semantic roles & 50–950 ramp

primary
#986FE9
secondary
#E0EDC7
accent
#D61093
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #986FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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