#986EC9#986EC9

#986EC9 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.8% C 0.139 H 303.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#986EC9
RGBrgb(152, 110, 201)
HSLhsl(268, 46%, 61%)
HSVhsv(268, 45%, 79%)
CMYKcmyk(24.4%, 45.3%, 0%, 21.2%)
CIE-LABlab(54.07, 34.82, -41.28)
CIE-LCHlch(54.07, 54.00, 310.14°)
OKLaboklab(61.83% 0.0776 -0.1154)
OKLCHoklch(61.83% 0.139 303.9)
XYZxyz(29.0652, 22.0444, 57.9708)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EC9 #9FC96E
analogous
#6E71C9 #986EC9 #C56EC9
triadic
#986EC9 #C9986E #6EC998
tetradic
#986EC9 #C96E71 #9FC96E #6EC9C5
square
#986EC9 #C96E71 #9FC96E #6EC9C5
split-complementary
#986EC9 #C9C56E #71C96E
monochromatic
#5B3389 #7944B6 #986EC9 #B89BDA #D7C7EA

Accessibility & contrast

On white

3.88
#986EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#986EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EC9
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EC9#FFFFFF#000000##000000
##986EC91.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CC
Deuteranopia (green-blind)
#6081C7
Tritanopia (blue-blind)
#907D92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986ec9;
/* rgb */ color: rgb(152, 110, 201);
/* oklch */ color: oklch(61.8% 0.139 303.9);
Tailwind
colors: {
  custom: {
    50: '#b898da',
    500: '#986ec9',
    950: '#000000',
  },
}
SCSS
$custom: #986ec9;
$custom-light: #b898da;
$custom-dark: #000000;
JSON
{
  "hex": "#986ec9",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 201
  },
  "hsl": {
    "h": 267.692,
    "s": 45.729,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61827,
    "c": 0.13905,
    "h": 303.9
  },
  "luminance": 0.22044
}

Semantic roles & 50–950 ramp

primary
#986EC9
secondary
#CBDBB8
accent
#B92D78
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120E15
muted
#817E83

Preview Lab

Preview with #986EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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