#986CD5#986CD5

#986CD5 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.2% C 0.157 H 301.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#986CD5
RGBrgb(152, 108, 213)
HSLhsl(265, 56%, 63%)
HSVhsv(265, 49%, 84%)
CMYKcmyk(28.6%, 49.3%, 0%, 16.5%)
CIE-LABlab(54.24, 38.86, -47.83)
CIE-LCHlch(54.24, 61.63, 309.09°)
OKLaboklab(62.16% 0.0818 -0.1345)
OKLCHoklch(62.16% 0.157 301.3)
XYZxyz(30.3190, 22.2045, 65.6265)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CD5 #A9D56C
analogous
#6C74D5 #986CD5 #CD6CD5
triadic
#986CD5 #D5986C #6CD598
tetradic
#986CD5 #D56C74 #A9D56C #6CD5CD
square
#986CD5 #D56C74 #A9D56C #6CD5CD
split-complementary
#986CD5 #D5CD6C #74D56C
monochromatic
#5A2C9A #773CC7 #986CD5 #B99CE3 #DBCBF0

Accessibility & contrast

On white

3.86
#986CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#986CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CD5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CD5#FFFFFF#000000##000000
##986CD51.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A81D9
Deuteranopia (green-blind)
#5681D2
Tritanopia (blue-blind)
#8C7F97
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #986cd5;
/* rgb */ color: rgb(152, 108, 213);
/* oklch */ color: oklch(62.2% 0.157 301.3);
Tailwind
colors: {
  custom: {
    50: '#b997e2',
    500: '#986cd5',
    950: '#000000',
  },
}
SCSS
$custom: #986cd5;
$custom-light: #b997e2;
$custom-dark: #000000;
JSON
{
  "hex": "#986cd5",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 265.143,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62156,
    "c": 0.15741,
    "h": 301.3
  },
  "luminance": 0.22205
}

Semantic roles & 50–950 ramp

primary
#986CD5
secondary
#D1E1BB
accent
#C32280
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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