#986EF6#986EF6

#986EF6 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.5% C 0.195 H 294.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#986EF6
RGBrgb(152, 110, 246)
HSLhsl(259, 88%, 70%)
HSVhsv(259, 55%, 96%)
CMYKcmyk(38.2%, 55.3%, 0%, 3.5%)
CIE-LABlab(56.57, 46.13, -62.61)
CIE-LCHlch(56.57, 77.77, 306.38°)
OKLaboklab(64.49% 0.0811 -0.1778)
OKLCHoklch(64.49% 0.195 294.5)
XYZxyz(35.1550, 24.4803, 90.0439)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EF6 #CCF66E
analogous
#6E88F6 #986EF6 #DC6EF6
triadic
#986EF6 #F6986E #6EF698
tetradic
#986EF6 #F66E88 #CCF66E #6EF6DC
square
#986EF6 #F66E88 #CCF66E #6EF6DC
split-complementary
#986EF6 #F6DC6E #88F66E
monochromatic
#4D0EDC #6F34F2 #986EF6 #C1A8FA #EAE1FD

Accessibility & contrast

On white

3.56
#986EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#986EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EF6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EF6#FFFFFF#000000##000000
##986EF61.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A89FB
Deuteranopia (green-blind)
#3886F3
Tritanopia (blue-blind)
#808BA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986ef6;
/* rgb */ color: rgb(152, 110, 246);
/* oklch */ color: oklch(64.5% 0.195 294.5);
Tailwind
colors: {
  custom: {
    50: '#bb99fa',
    500: '#986ef6',
    950: '#000000',
  },
}
SCSS
$custom: #986ef6;
$custom-light: #bb99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#986ef6",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 258.529,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64485,
    "c": 0.19544,
    "h": 294.5
  },
  "luminance": 0.24481
}

Semantic roles & 50–950 ramp

primary
#986EF6
secondary
#E7F3CD
accent
#E5019E
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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