#986AE6#986AE6

#986AE6 is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.8% C 0.182 H 298.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#986AE6
RGBrgb(152, 106, 230)
HSLhsl(262, 71%, 66%)
HSVhsv(262, 54%, 90%)
CMYKcmyk(33.9%, 53.9%, 0%, 9.8%)
CIE-LABlab(54.76, 44.22, -56.59)
CIE-LCHlch(54.76, 71.82, 308.01°)
OKLaboklab(62.85% 0.0856 -0.1601)
OKLCHoklch(62.85% 0.182 298.1)
XYZxyz(32.3823, 22.6963, 77.5223)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AE6 #B8E66A
analogous
#6A7AE6 #986AE6 #D66AE6
triadic
#986AE6 #E6986A #6AE698
tetradic
#986AE6 #E66A7A #B8E66A #6AE6D6
square
#986AE6 #E66A7A #B8E66A #6AE6D6
split-complementary
#986AE6 #E6D66A #7AE66A
monochromatic
#571FB7 #7436DD #986AE6 #BC9EEF #E0D3F8

Accessibility & contrast

On white

3.79
#986AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#986AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AE6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AE6#FFFFFF#000000##000000
##986AE61.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3683EA
Deuteranopia (green-blind)
#4582E3
Tritanopia (blue-blind)
#87839E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #986ae6;
/* rgb */ color: rgb(152, 106, 230);
/* oklch */ color: oklch(62.8% 0.182 298.1);
Tailwind
colors: {
  custom: {
    50: '#ba96ee',
    500: '#986ae6',
    950: '#000000',
  },
}
SCSS
$custom: #986ae6;
$custom-light: #ba96ee;
$custom-dark: #000000;
JSON
{
  "hex": "#986ae6",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 230
  },
  "hsl": {
    "h": 262.258,
    "s": 71.264,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62845,
    "c": 0.18154,
    "h": 298.1
  },
  "luminance": 0.22697
}

Semantic roles & 50–950 ramp

primary
#986AE6
secondary
#DBEAC1
accent
#D3128C
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #986AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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