#986FEB#986FEB

#986FEB is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.0% C 0.180 H 296.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#986FEB
RGBrgb(152, 111, 235)
HSLhsl(260, 76%, 68%)
HSVhsv(260, 53%, 92%)
CMYKcmyk(35.3%, 52.8%, 0%, 7.8%)
CIE-LABlab(56.13, 42.72, -57.19)
CIE-LCHlch(56.13, 71.39, 306.76°)
OKLaboklab(63.95% 0.0796 -0.1619)
OKLCHoklch(63.95% 0.18 296.2)
XYZxyz(33.6249, 24.0419, 81.4502)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FEB #C2EB6F
analogous
#6F84EB #986FEB #D66FEB
triadic
#986FEB #EB986F #6FEB98
tetradic
#986FEB #EB6F84 #C2EB6F #6FEBD6
square
#986FEB #EB6F84 #C2EB6F #6FEBD6
split-complementary
#986FEB #EBD66F #84EB6F
monochromatic
#531BC4 #7239E4 #986FEB #BEA5F2 #E5DAFA

Accessibility & contrast

On white

3.62
#986FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#986FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FEB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FEB#FFFFFF#000000##000000
##986FEB1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EF
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#8588A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986feb;
/* rgb */ color: rgb(152, 111, 235);
/* oklch */ color: oklch(64.0% 0.180 296.2);
Tailwind
colors: {
  custom: {
    50: '#ba99f2',
    500: '#986feb',
    950: '#000000',
  },
}
SCSS
$custom: #986feb;
$custom-light: #ba99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#986feb",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 259.839,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63954,
    "c": 0.18039,
    "h": 296.2
  },
  "luminance": 0.24042
}

Semantic roles & 50–950 ramp

primary
#986FEB
secondary
#E1EEC8
accent
#D80E95
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #986FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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