#986DF6#986DF6

#986DF6 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.3% C 0.197 H 294.7°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#986DF6
RGBrgb(152, 109, 246)
HSLhsl(259, 88%, 70%)
HSVhsv(259, 56%, 96%)
CMYKcmyk(38.2%, 55.7%, 0%, 3.5%)
CIE-LABlab(56.35, 46.68, -62.96)
CIE-LCHlch(56.35, 78.37, 306.56°)
OKLaboklab(64.33% 0.0823 -0.1788)
OKLCHoklch(64.33% 0.197 294.7)
XYZxyz(35.0477, 24.2658, 90.0081)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DF6 #CBF66D
analogous
#6D87F6 #986DF6 #DC6DF6
triadic
#986DF6 #F6986D #6DF698
tetradic
#986DF6 #F66D87 #CBF66D #6DF6DC
square
#986DF6 #F66D87 #CBF66D #6DF6DC
split-complementary
#986DF6 #F6DC6D #87F66D
monochromatic
#4E0EDB #6F33F2 #986DF6 #C1A7FA #E9E0FD

Accessibility & contrast

On white

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

On black

5.85
#986DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DF6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DF6#FFFFFF#000000##000000
##986DF61.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2788FB
Deuteranopia (green-blind)
#3685F3
Tritanopia (blue-blind)
#818AA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986df6;
/* rgb */ color: rgb(152, 109, 246);
/* oklch */ color: oklch(64.3% 0.197 294.7);
Tailwind
colors: {
  custom: {
    50: '#bb98fa',
    500: '#986df6',
    950: '#000000',
  },
}
SCSS
$custom: #986df6;
$custom-light: #bb98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#986df6",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 258.832,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.64329,
    "c": 0.19684,
    "h": 294.7
  },
  "luminance": 0.24266
}

Semantic roles & 50–950 ramp

primary
#986DF6
secondary
#E7F3CC
accent
#E5019D
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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