#987D97#987D97

#987D97 is a light, muted purple. Relative luminance 0.236; OKLCH L 62.4% C 0.050 H 327.3°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#987D97
RGBrgb(152, 125, 151)
HSLhsl(302, 12%, 54%)
HSVhsv(302, 18%, 60%)
CMYKcmyk(0%, 17.8%, 0.7%, 40.4%)
CIE-LABlab(55.66, 15.13, -10.05)
CIE-LCHlch(55.66, 18.17, 326.41°)
OKLaboklab(62.36% 0.0419 -0.0269)
OKLCHoklch(62.36% 0.05 327.3)
XYZxyz(25.8678, 23.5775, 32.4604)
Luminance0.2358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987D97 #7D987E
analogous
#8C7D98 #987D97 #987D8A
triadic
#987D97 #97987D #7D9798
tetradic
#987D97 #988C7D #7D987E #7D8A98
square
#987D97 #988C7D #7D987E #7D8A98
split-complementary
#987D97 #8A987D #7D988C
monochromatic
#564456 #785F77 #987D97 #B39FB2 #CEC1CE

Accessibility & contrast

On white

3.67
#987D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#987D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987D97
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987D97#FFFFFF#000000##000000
##987D971.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8398
Deuteranopia (green-blind)
#818796
Tritanopia (blue-blind)
#9A7F86
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #987d97;
/* rgb */ color: rgb(152, 125, 151);
/* oklch */ color: oklch(62.4% 0.050 327.3);
Tailwind
colors: {
  custom: {
    50: '#b6a2b5',
    500: '#987d97',
    950: '#000000',
  },
}
SCSS
$custom: #987d97;
$custom-light: #b6a2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#987d97",
  "rgb": {
    "r": 152,
    "g": 125,
    "b": 151
  },
  "hsl": {
    "h": 302.222,
    "s": 11.588,
    "l": 54.314
  },
  "oklch": {
    "l": 0.62361,
    "c": 0.04979,
    "h": 327.3
  },
  "luminance": 0.23577
}

Semantic roles & 50–950 ramp

primary
#987D97
secondary
#B3BEB3
accent
#B47673
background
#FBFAFB
surface
#F6F3F6
border
#D0CDD0
text
#110F11
muted
#807F80

Preview Lab

Preview with #987D97

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

Preview Lab → · Contrast checker → · Palette generator →

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