#986DB2#986DB2

#986DB2 is a mid, moderate violet. Relative luminance 0.208; OKLCH L 60.5% C 0.112 H 312.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#986DB2
RGBrgb(152, 109, 178)
HSLhsl(277, 31%, 56%)
HSVhsv(277, 39%, 70%)
CMYKcmyk(14.6%, 38.8%, 0%, 30.2%)
CIE-LABlab(52.76, 30.06, -30.13)
CIE-LCHlch(52.76, 42.57, 314.94°)
OKLaboklab(60.48% 0.0748 -0.0832)
OKLCHoklch(60.48% 0.112 312)
XYZxyz(26.4520, 20.8275, 44.7375)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DB2 #87B26D
analogous
#766DB2 #986DB2 #B26DAA
triadic
#986DB2 #B2986D #6DB298
tetradic
#986DB2 #B2766D #87B26D #6DAAB2
square
#986DB2 #B2766D #87B26D #6DAAB2
split-complementary
#986DB2 #AAB26D #6DB276
monochromatic
#59396C #7A4E94 #986DB2 #B495C7 #D1BDDC

Accessibility & contrast

On white

4.07
#986DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#986DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DB2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DB2#FFFFFF#000000##000000
##986DB21.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB5
Deuteranopia (green-blind)
#6A7FB0
Tritanopia (blue-blind)
#967787
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #986db2;
/* rgb */ color: rgb(152, 109, 178);
/* oklch */ color: oklch(60.5% 0.112 312.0);
Tailwind
colors: {
  custom: {
    50: '#b797c9',
    500: '#986db2',
    950: '#000000',
  },
}
SCSS
$custom: #986db2;
$custom-light: #b797c9;
$custom-dark: #000000;
JSON
{
  "hex": "#986db2",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 277.391,
    "s": 30.942,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60484,
    "c": 0.11188,
    "h": 312
  },
  "luminance": 0.20827
}

Semantic roles & 50–950 ramp

primary
#986DB2
secondary
#BACCAF
accent
#C76187
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #986DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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