#986FEF#986FEF

#986FEF is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.2% C 0.185 H 295.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#986FEF
RGBrgb(152, 111, 239)
HSLhsl(259, 80%, 69%)
HSVhsv(259, 54%, 94%)
CMYKcmyk(36.4%, 53.6%, 0%, 6.3%)
CIE-LABlab(56.36, 43.75, -59.05)
CIE-LCHlch(56.36, 73.49, 306.54°)
OKLaboklab(64.2% 0.0798 -0.1673)
OKLCHoklch(64.2% 0.185 295.5)
XYZxyz(34.2093, 24.2756, 84.5279)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FEF #C6EF6F
analogous
#6F86EF #986FEF #D86FEF
triadic
#986FEF #EF986F #6FEF98
tetradic
#986FEF #EF6F86 #C6EF6F #6FEFD8
square
#986FEF #EF6F86 #C6EF6F #6FEFD8
split-complementary
#986FEF #EFD86F #86EF6F
monochromatic
#5117CD #7138E9 #986FEF #BFA6F5 #E7DDFB

Accessibility & contrast

On white

3.59
#986FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#986FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FEF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FEF#FFFFFF#000000##000000
##986FEF1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#4385EC
Tritanopia (blue-blind)
#8389A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986fef;
/* rgb */ color: rgb(152, 111, 239);
/* oklch */ color: oklch(64.2% 0.185 295.5);
Tailwind
colors: {
  custom: {
    50: '#bb99f5',
    500: '#986fef',
    950: '#000000',
  },
}
SCSS
$custom: #986fef;
$custom-light: #bb99f5;
$custom-dark: #000000;
JSON
{
  "hex": "#986fef",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 259.219,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64201,
    "c": 0.18537,
    "h": 295.5
  },
  "luminance": 0.24276
}

Semantic roles & 50–950 ramp

primary
#986FEF
secondary
#E4F0CA
accent
#DC0999
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #986FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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