#986EC6#986EC6

#986EC6 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.7% C 0.135 H 304.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#986EC6
RGBrgb(152, 110, 198)
HSLhsl(269, 44%, 60%)
HSVhsv(269, 44%, 78%)
CMYKcmyk(23.2%, 44.4%, 0%, 22.4%)
CIE-LABlab(53.93, 34.10, -39.80)
CIE-LCHlch(53.93, 52.41, 310.59°)
OKLaboklab(61.67% 0.0771 -0.1111)
OKLCHoklch(61.67% 0.135 304.8)
XYZxyz(28.7157, 21.9046, 56.1303)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EC6 #9CC66E
analogous
#6E70C6 #986EC6 #C46EC6
triadic
#986EC6 #C6986E #6EC698
tetradic
#986EC6 #C66E70 #9CC66E #6EC6C4
square
#986EC6 #C66E70 #9CC66E #6EC6C4
split-complementary
#986EC6 #C6C46E #70C66E
monochromatic
#5B3485 #7946B1 #986EC6 #B79AD7 #D6C6E9

Accessibility & contrast

On white

3.90
#986EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#986EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EC6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EC6#FFFFFF#000000##000000
##986EC61.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780C9
Deuteranopia (green-blind)
#6181C4
Tritanopia (blue-blind)
#917D90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986ec6;
/* rgb */ color: rgb(152, 110, 198);
/* oklch */ color: oklch(61.7% 0.135 304.8);
Tailwind
colors: {
  custom: {
    50: '#b898d7',
    500: '#986ec6',
    950: '#000000',
  },
}
SCSS
$custom: #986ec6;
$custom-light: #b898d7;
$custom-dark: #000000;
JSON
{
  "hex": "#986ec6",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 198
  },
  "hsl": {
    "h": 268.636,
    "s": 43.564,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.13525,
    "h": 304.8
  },
  "luminance": 0.21904
}

Semantic roles & 50–950 ramp

primary
#986EC6
secondary
#C9D9B7
accent
#B72F76
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #986EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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