#986DF8#986DF8

#986DF8 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.5% C 0.199 H 294.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#986DF8
RGBrgb(152, 109, 248)
HSLhsl(259, 91%, 70%)
HSVhsv(259, 56%, 97%)
CMYKcmyk(38.7%, 56%, 0%, 2.7%)
CIE-LABlab(56.48, 47.20, -63.87)
CIE-LCHlch(56.48, 79.42, 306.47°)
OKLaboklab(64.46% 0.0823 -0.1815)
OKLCHoklch(64.46% 0.199 294.4)
XYZxyz(35.3563, 24.3892, 91.6335)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DF8 #CDF86D
analogous
#6D88F8 #986DF8 #DD6DF8
triadic
#986DF8 #F8986D #6DF898
tetradic
#986DF8 #F86D88 #CDF86D #6DF8DD
square
#986DF8 #F86D88 #CDF86D #6DF8DD
split-complementary
#986DF8 #F8DD6D #88F86D
monochromatic
#4D0BE0 #6F33F5 #986DF8 #C1A7FB #EAE2FE

Accessibility & contrast

On white

3.57
#986DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#986DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DF8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DF8#FFFFFF#000000##000000
##986DF81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2389FD
Deuteranopia (green-blind)
#3385F5
Tritanopia (blue-blind)
#808BA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986df8;
/* rgb */ color: rgb(152, 109, 248);
/* oklch */ color: oklch(64.5% 0.199 294.4);
Tailwind
colors: {
  custom: {
    50: '#bb98fb',
    500: '#986df8',
    950: '#000000',
  },
}
SCSS
$custom: #986df8;
$custom-light: #bb98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#986df8",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 258.561,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.64458,
    "c": 0.19929,
    "h": 294.4
  },
  "luminance": 0.2439
}

Semantic roles & 50–950 ramp

primary
#986DF8
secondary
#E8F4CD
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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