#986CD1#986CD1

#986CD1 is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.9% C 0.152 H 302.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#986CD1
RGBrgb(152, 108, 209)
HSLhsl(266, 52%, 62%)
HSVhsv(266, 48%, 82%)
CMYKcmyk(27.3%, 48.3%, 0%, 18%)
CIE-LABlab(54.03, 37.88, -45.90)
CIE-LCHlch(54.03, 59.51, 309.53°)
OKLaboklab(61.93% 0.0814 -0.1288)
OKLCHoklch(61.93% 0.152 302.3)
XYZxyz(29.8175, 22.0040, 62.9856)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CD1 #A5D16C
analogous
#6C72D1 #986CD1 #CB6CD1
triadic
#986CD1 #D1986C #6CD198
tetradic
#986CD1 #D16C72 #A5D16C #6CD1CB
square
#986CD1 #D16C72 #A5D16C #6CD1CB
split-complementary
#986CD1 #D1CB6C #72D16C
monochromatic
#5B2E94 #773DC2 #986CD1 #B99BE0 #D9C9EE

Accessibility & contrast

On white

3.89
#986CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#986CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CD1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CD1#FFFFFF#000000##000000
##986CD11.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D80D5
Deuteranopia (green-blind)
#5981CE
Tritanopia (blue-blind)
#8E7E95
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #986cd1;
/* rgb */ color: rgb(152, 108, 209);
/* oklch */ color: oklch(61.9% 0.152 302.3);
Tailwind
colors: {
  custom: {
    50: '#b997df',
    500: '#986cd1',
    950: '#000000',
  },
}
SCSS
$custom: #986cd1;
$custom-light: #b997df;
$custom-dark: #000000;
JSON
{
  "hex": "#986cd1",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 209
  },
  "hsl": {
    "h": 266.139,
    "s": 52.332,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61929,
    "c": 0.15239,
    "h": 302.3
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#986CD1
secondary
#CFDFBA
accent
#C0267D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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