#986EE4#986EE4

#986EE4 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.173 H 297.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#986EE4
RGBrgb(152, 110, 228)
HSLhsl(261, 69%, 66%)
HSVhsv(261, 52%, 89%)
CMYKcmyk(33.3%, 51.8%, 0%, 10.6%)
CIE-LABlab(55.51, 41.49, -54.27)
CIE-LCHlch(55.51, 68.31, 307.40°)
OKLaboklab(63.37% 0.0804 -0.1533)
OKLCHoklch(63.37% 0.173 297.7)
XYZxyz(32.5250, 23.4283, 76.1923)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EE4 #BAE46E
analogous
#6E7FE4 #986EE4 #D36EE4
triadic
#986EE4 #E4986E #6EE498
tetradic
#986EE4 #E46E7F #BAE46E #6EE4D3
square
#986EE4 #E46E7F #BAE46E #6EE4D3
split-complementary
#986EE4 #E4D36E #7FE46E
monochromatic
#5622B6 #733ADA #986EE4 #BDA2EE #E1D5F7

Accessibility & contrast

On white

3.69
#986EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#986EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EE4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EE4#FFFFFF#000000##000000
##986EE41.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E8
Deuteranopia (green-blind)
#4C84E1
Tritanopia (blue-blind)
#87859F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986ee4;
/* rgb */ color: rgb(152, 110, 228);
/* oklch */ color: oklch(63.4% 0.173 297.7);
Tailwind
colors: {
  custom: {
    50: '#ba98ed',
    500: '#986ee4',
    950: '#000000',
  },
}
SCSS
$custom: #986ee4;
$custom-light: #ba98ed;
$custom-dark: #000000;
JSON
{
  "hex": "#986ee4",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 261.356,
    "s": 68.605,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63366,
    "c": 0.17313,
    "h": 297.7
  },
  "luminance": 0.23429
}

Semantic roles & 50–950 ramp

primary
#986EE4
secondary
#DCEAC4
accent
#D1158E
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #986EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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