#986DEE#986DEE

#986DEE is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.8% C 0.187 H 296.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#986DEE
RGBrgb(152, 109, 238)
HSLhsl(260, 79%, 68%)
HSVhsv(260, 54%, 93%)
CMYKcmyk(36.1%, 54.2%, 0%, 6.7%)
CIE-LABlab(55.87, 44.61, -59.28)
CIE-LCHlch(55.87, 74.19, 306.96°)
OKLaboklab(63.82% 0.0821 -0.168)
OKLCHoklch(63.82% 0.187 296.1)
XYZxyz(33.8462, 23.7851, 83.6801)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DEE #C3EE6D
analogous
#6D82EE #986DEE #D86DEE
triadic
#986DEE #EE986D #6DEE98
tetradic
#986DEE #EE6D82 #C3EE6D #6DEED8
square
#986DEE #EE6D82 #C3EE6D #6DEED8
split-complementary
#986DEE #EED86D #82EE6D
monochromatic
#5317C9 #7136E8 #986DEE #BFA4F4 #E5DBFB

Accessibility & contrast

On white

3.65
#986DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#986DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DEE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DEE#FFFFFF#000000##000000
##986DEE1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F2
Deuteranopia (green-blind)
#4084EB
Tritanopia (blue-blind)
#8487A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986dee;
/* rgb */ color: rgb(152, 109, 238);
/* oklch */ color: oklch(63.8% 0.187 296.1);
Tailwind
colors: {
  custom: {
    50: '#bb98f4',
    500: '#986dee',
    950: '#000000',
  },
}
SCSS
$custom: #986dee;
$custom-light: #bb98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#986dee",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 260,
    "s": 79.141,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6382,
    "c": 0.18701,
    "h": 296.1
  },
  "luminance": 0.23786
}

Semantic roles & 50–950 ramp

primary
#986DEE
secondary
#E2EFC8
accent
#DB0A96
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #986DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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