#986EE2#986EE2

#986EE2 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.2% C 0.171 H 298.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#986EE2
RGBrgb(152, 110, 226)
HSLhsl(262, 67%, 66%)
HSVhsv(262, 51%, 89%)
CMYKcmyk(32.7%, 51.3%, 0%, 11.4%)
CIE-LABlab(55.40, 40.98, -53.32)
CIE-LCHlch(55.40, 67.25, 307.55°)
OKLaboklab(63.25% 0.0803 -0.1505)
OKLCHoklch(63.25% 0.171 298.1)
XYZxyz(32.2489, 23.3179, 74.7385)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EE2 #B8E26E
analogous
#6E7EE2 #986EE2 #D26EE2
triadic
#986EE2 #E2986E #6EE298
tetradic
#986EE2 #E26E7E #B8E26E #6EE2D2
square
#986EE2 #E26E7E #B8E26E #6EE2D2
split-complementary
#986EE2 #E2D26E #7EE26E
monochromatic
#5724B2 #743BD8 #986EE2 #BCA1EC #E0D4F6

Accessibility & contrast

On white

3.71
#986EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#986EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EE2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EE2#FFFFFF#000000##000000
##986EE21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E6
Deuteranopia (green-blind)
#4E84DF
Tritanopia (blue-blind)
#88859E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986ee2;
/* rgb */ color: rgb(152, 110, 226);
/* oklch */ color: oklch(63.2% 0.171 298.1);
Tailwind
colors: {
  custom: {
    50: '#ba98ec',
    500: '#986ee2',
    950: '#000000',
  },
}
SCSS
$custom: #986ee2;
$custom-light: #ba98ec;
$custom-dark: #000000;
JSON
{
  "hex": "#986ee2",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 261.724,
    "s": 66.667,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63246,
    "c": 0.17062,
    "h": 298.1
  },
  "luminance": 0.23318
}

Semantic roles & 50–950 ramp

primary
#986EE2
secondary
#DBE9C3
accent
#CF178C
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #986EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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