#986CCE#986CCE

#986CCE is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.8% C 0.149 H 303.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#986CCE
RGBrgb(152, 108, 206)
HSLhsl(267, 50%, 62%)
HSVhsv(267, 48%, 81%)
CMYKcmyk(26.2%, 47.6%, 0%, 19.2%)
CIE-LABlab(53.87, 37.15, -44.44)
CIE-LCHlch(53.87, 57.93, 309.89°)
OKLaboklab(61.76% 0.081 -0.1246)
OKLCHoklch(61.76% 0.149 303)
XYZxyz(29.4496, 21.8568, 61.0479)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CCE #A2CE6C
analogous
#6C71CE #986CCE #C96CCE
triadic
#986CCE #CE986C #6CCE98
tetradic
#986CCE #CE6C71 #A2CE6C #6CCEC9
square
#986CCE #CE6C71 #A2CE6C #6CCEC9
split-complementary
#986CCE #CEC96C #71CE6C
monochromatic
#5B3090 #783FBE #986CCE #B89ADD #D8C8ED

Accessibility & contrast

On white

3.91
#986CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#986CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CCE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CCE#FFFFFF#000000##000000
##986CCE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#8E7D93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986cce;
/* rgb */ color: rgb(152, 108, 206);
/* oklch */ color: oklch(61.8% 0.149 303.0);
Tailwind
colors: {
  custom: {
    50: '#b897dd',
    500: '#986cce',
    950: '#000000',
  },
}
SCSS
$custom: #986cce;
$custom-light: #b897dd;
$custom-dark: #000000;
JSON
{
  "hex": "#986cce",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 266.939,
    "s": 50,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61761,
    "c": 0.14863,
    "h": 303
  },
  "luminance": 0.21857
}

Semantic roles & 50–950 ramp

primary
#986CCE
secondary
#CDDDB9
accent
#BD287A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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