#986AFE#986AFE

#986AFE is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.4% C 0.211 H 294.0°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#986AFE
RGBrgb(152, 106, 254)
HSLhsl(259, 99%, 71%)
HSVhsv(259, 58%, 100%)
CMYKcmyk(40.2%, 58.3%, 0%, 0.4%)
CIE-LABlab(56.23, 50.40, -67.59)
CIE-LCHlch(56.23, 84.31, 306.71°)
OKLaboklab(64.4% 0.0857 -0.1924)
OKLCHoklch(64.4% 0.211 294)
XYZxyz(35.9876, 24.1383, 96.5098)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AFE #D0FE6A
analogous
#6A86FE #986AFE #E26AFE
triadic
#986AFE #FE986A #6AFE98
tetradic
#986AFE #FE6A86 #D0FE6A #6AFEE2
square
#986AFE #FE6A86 #D0FE6A #6AFEE2
split-complementary
#986AFE #FEE26A #86FE6A
monochromatic
#4A02EC #6E2DFE #986AFE #C2A7FE #EAE1FF

Accessibility & contrast

On white

3.60
#986AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#986AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AFE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AFE#FFFFFF#000000##000000
##986AFE1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#1F84FB
Tritanopia (blue-blind)
#7D8AAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986afe;
/* rgb */ color: rgb(152, 106, 254);
/* oklch */ color: oklch(64.4% 0.211 294.0);
Tailwind
colors: {
  custom: {
    50: '#bc96ff',
    500: '#986afe',
    950: '#000000',
  },
}
SCSS
$custom: #986afe;
$custom-light: #bc96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#986afe",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 258.649,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64395,
    "c": 0.21064,
    "h": 294
  },
  "luminance": 0.24139
}

Semantic roles & 50–950 ramp

primary
#986AFE
secondary
#EAF6CE
accent
#E6009E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #986AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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