#986DC2#986DC2

#986DC2 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.3% C 0.132 H 306.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#986DC2
RGBrgb(152, 109, 194)
HSLhsl(270, 41%, 59%)
HSVhsv(270, 44%, 76%)
CMYKcmyk(21.6%, 43.8%, 0%, 23.9%)
CIE-LABlab(53.50, 33.73, -38.18)
CIE-LCHlch(53.50, 50.95, 311.45°)
OKLaboklab(61.29% 0.0779 -0.1064)
OKLCHoklch(61.29% 0.132 306.2)
XYZxyz(28.1532, 21.5079, 53.6968)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DC2 #97C26D
analogous
#6E6DC2 #986DC2 #C26DC2
triadic
#986DC2 #C2986D #6DC298
tetradic
#986DC2 #C26E6D #97C26D #6DC2C2
square
#986DC2 #C26E6D #97C26D #6DC2C2
split-complementary
#986DC2 #C2C26D #6DC26E
monochromatic
#5B357F #7947AB #986DC2 #B698D4 #D5C3E6

Accessibility & contrast

On white

3.96
#986DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#986DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DC2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DC2#FFFFFF#000000##000000
##986DC21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC5
Deuteranopia (green-blind)
#6380C0
Tritanopia (blue-blind)
#927B8E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #986dc2;
/* rgb */ color: rgb(152, 109, 194);
/* oklch */ color: oklch(61.3% 0.132 306.2);
Tailwind
colors: {
  custom: {
    50: '#b897d5',
    500: '#986dc2',
    950: '#000000',
  },
}
SCSS
$custom: #986dc2;
$custom-light: #b897d5;
$custom-dark: #000000;
JSON
{
  "hex": "#986dc2",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 270.353,
    "s": 41.063,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61285,
    "c": 0.13188,
    "h": 306.2
  },
  "luminance": 0.21508
}

Semantic roles & 50–950 ramp

primary
#986DC2
secondary
#C5D6B5
accent
#D15793
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #986DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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