#987DAC#987DAC

#987DAC is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.2% C 0.075 H 310.4°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#987DAC
RGBrgb(152, 125, 172)
HSLhsl(274, 22%, 58%)
HSVhsv(274, 27%, 67%)
CMYKcmyk(11.6%, 27.3%, 0%, 32.5%)
CIE-LABlab(56.41, 19.51, -21.04)
CIE-LCHlch(56.41, 28.69, 312.83°)
OKLaboklab(63.18% 0.0488 -0.0574)
OKLCHoklch(63.18% 0.075 310.4)
XYZxyz(27.7276, 24.3215, 42.2555)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987DAC #91AC7D
analogous
#807DAC #987DAC #AC7DA8
triadic
#987DAC #AC987D #7DAC98
tetradic
#987DAC #AC807D #91AC7D #7DA8AC
square
#987DAC #AC807D #91AC7D #7DA8AC
split-complementary
#987DAC #A8AC7D #7DAC80
monochromatic
#5A446B #7A5C90 #987DAC #B6A2C4 #D3C8DC

Accessibility & contrast

On white

3.58
#987DAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#987DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987DAC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987DAC#FFFFFF#000000##000000
##987DAC1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7586AE
Deuteranopia (green-blind)
#7B88AB
Tritanopia (blue-blind)
#96838E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987dac;
/* rgb */ color: rgb(152, 125, 172);
/* oklch */ color: oklch(63.2% 0.075 310.4);
Tailwind
colors: {
  custom: {
    50: '#b6a2c4',
    500: '#987dac',
    950: '#000000',
  },
}
SCSS
$custom: #987dac;
$custom-light: #b6a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#987dac",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 172
  },
  "hsl": {
    "h": 274.468,
    "s": 22.066,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63182,
    "c": 0.0754,
    "h": 310.4
  },
  "luminance": 0.24321
}

Semantic roles & 50–950 ramp

primary
#987DAC
secondary
#C1CCB9
accent
#BF698E
background
#FBFAFC
surface
#F6F3F8
border
#D0CDD1
text
#110F12
muted
#807F81

Preview Lab

Preview with #987DAC

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

Preview Lab → · Contrast checker → · Palette generator →

#987DAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva