#986CD6#986CD6

#986CD6 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.2% C 0.159 H 301.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#986CD6
RGBrgb(152, 108, 214)
HSLhsl(265, 56%, 63%)
HSVhsv(265, 50%, 84%)
CMYKcmyk(29%, 49.5%, 0%, 16.1%)
CIE-LABlab(54.30, 39.11, -48.31)
CIE-LCHlch(54.30, 62.16, 308.99°)
OKLaboklab(62.21% 0.0819 -0.1359)
OKLCHoklch(62.21% 0.159 301.1)
XYZxyz(30.4463, 22.2555, 66.2970)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CD6 #AAD66C
analogous
#6C75D6 #986CD6 #CD6CD6
triadic
#986CD6 #D6986C #6CD698
tetradic
#986CD6 #D66C75 #AAD66C #6CD6CD
square
#986CD6 #D66C75 #AAD66C #6CD6CD
split-complementary
#986CD6 #D6CD6C #75D66C
monochromatic
#5A2C9C #763CC9 #986CD6 #BA9CE3 #DBCCF1

Accessibility & contrast

On white

3.85
#986CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#986CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CD6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CD6#FFFFFF#000000##000000
##986CD61.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A81DA
Deuteranopia (green-blind)
#5581D3
Tritanopia (blue-blind)
#8C8097
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #986cd6;
/* rgb */ color: rgb(152, 108, 214);
/* oklch */ color: oklch(62.2% 0.159 301.1);
Tailwind
colors: {
  custom: {
    50: '#b997e3',
    500: '#986cd6',
    950: '#000000',
  },
}
SCSS
$custom: #986cd6;
$custom-light: #b997e3;
$custom-dark: #000000;
JSON
{
  "hex": "#986cd6",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 264.906,
    "s": 56.383,
    "l": 63.137
  },
  "oklch": {
    "l": 0.62213,
    "c": 0.15866,
    "h": 301.1
  },
  "luminance": 0.22256
}

Semantic roles & 50–950 ramp

primary
#986CD6
secondary
#D2E2BC
accent
#C42281
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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