#986DC4#986DC4

#986DC4 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.4% C 0.134 H 305.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#986DC4
RGBrgb(152, 109, 196)
HSLhsl(270, 42%, 60%)
HSVhsv(270, 44%, 77%)
CMYKcmyk(22.4%, 44.4%, 0%, 23.1%)
CIE-LABlab(53.60, 34.20, -39.18)
CIE-LCHlch(53.60, 52.00, 311.12°)
OKLaboklab(61.39% 0.0782 -0.1093)
OKLCHoklch(61.39% 0.134 305.6)
XYZxyz(28.3793, 21.5984, 54.8877)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DC4 #99C46D
analogous
#6D6EC4 #986DC4 #C36DC4
triadic
#986DC4 #C4986D #6DC498
tetradic
#986DC4 #C46D6E #99C46D #6DC4C3
square
#986DC4 #C46D6E #99C46D #6DC4C3
split-complementary
#986DC4 #C4C36D #6EC46D
monochromatic
#5B3582 #7946AE #986DC4 #B799D6 #D5C4E7

Accessibility & contrast

On white

3.95
#986DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#986DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DC4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DC4#FFFFFF#000000##000000
##986DC41.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC7
Deuteranopia (green-blind)
#6280C2
Tritanopia (blue-blind)
#917B8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #986dc4;
/* rgb */ color: rgb(152, 109, 196);
/* oklch */ color: oklch(61.4% 0.134 305.6);
Tailwind
colors: {
  custom: {
    50: '#b897d6',
    500: '#986dc4',
    950: '#000000',
  },
}
SCSS
$custom: #986dc4;
$custom-light: #b897d6;
$custom-dark: #000000;
JSON
{
  "hex": "#986dc4",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 196
  },
  "hsl": {
    "h": 269.655,
    "s": 42.439,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6139,
    "c": 0.13439,
    "h": 305.6
  },
  "luminance": 0.21598
}

Semantic roles & 50–950 ramp

primary
#986DC4
secondary
#C7D7B6
accent
#D25695
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #986DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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