#986EEE#986EEE

#986EEE is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.0% C 0.186 H 295.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#986EEE
RGBrgb(152, 110, 238)
HSLhsl(260, 79%, 68%)
HSVhsv(260, 54%, 93%)
CMYKcmyk(36.1%, 53.8%, 0%, 6.7%)
CIE-LABlab(56.09, 44.05, -58.93)
CIE-LCHlch(56.09, 73.58, 306.78°)
OKLaboklab(63.98% 0.0809 -0.167)
OKLCHoklch(63.98% 0.186 295.9)
XYZxyz(33.9535, 23.9997, 83.7159)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EEE #C4EE6E
analogous
#6E84EE #986EEE #D86EEE
triadic
#986EEE #EE986E #6EEE98
tetradic
#986EEE #EE6E84 #C4EE6E #6EEED8
square
#986EEE #EE6E84 #C4EE6E #6EEED8
split-complementary
#986EEE #EED86E #84EE6E
monochromatic
#5218CA #7137E8 #986EEE #BFA5F4 #E6DCFB

Accessibility & contrast

On white

3.62
#986EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#986EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EEE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EEE#FFFFFF#000000##000000
##986EEE1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3687F2
Deuteranopia (green-blind)
#4285EB
Tritanopia (blue-blind)
#8488A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986eee;
/* rgb */ color: rgb(152, 110, 238);
/* oklch */ color: oklch(64.0% 0.186 295.9);
Tailwind
colors: {
  custom: {
    50: '#bb99f4',
    500: '#986eee',
    950: '#000000',
  },
}
SCSS
$custom: #986eee;
$custom-light: #bb99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#986eee",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 259.688,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63979,
    "c": 0.18558,
    "h": 295.9
  },
  "luminance": 0.24
}

Semantic roles & 50–950 ramp

primary
#986EEE
secondary
#E3EFC8
accent
#DB0A97
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #986EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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