#987E97#987E97

#987E97 is a light, muted purple. Relative luminance 0.238; OKLCH L 62.6% C 0.048 H 327.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#987E97
RGBrgb(152, 126, 151)
HSLhsl(302, 11%, 55%)
HSVhsv(302, 17%, 60%)
CMYKcmyk(0%, 17.1%, 0.7%, 40.4%)
CIE-LABlab(55.92, 14.56, -9.67)
CIE-LCHlch(55.92, 17.47, 326.42°)
OKLaboklab(62.56% 0.0403 -0.0258)
OKLCHoklch(62.56% 0.048 327.3)
XYZxyz(25.9950, 23.8320, 32.5028)
Luminance0.2383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987E97 #7E987F
analogous
#8C7E98 #987E97 #987E8A
triadic
#987E97 #97987E #7E9798
tetradic
#987E97 #988C7E #7E987F #7E8A98
square
#987E97 #988C7E #7E987F #7E8A98
split-complementary
#987E97 #8A987E #7E988C
monochromatic
#574556 #796078 #987E97 #B3A0B2 #CEC2CE

Accessibility & contrast

On white

3.64
#987E97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#987E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987E97
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987E97#FFFFFF#000000##000000
##987E971.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8498
Deuteranopia (green-blind)
#828796
Tritanopia (blue-blind)
#9A8086
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987e97;
/* rgb */ color: rgb(152, 126, 151);
/* oklch */ color: oklch(62.6% 0.048 327.3);
Tailwind
colors: {
  custom: {
    50: '#b6a3b5',
    500: '#987e97',
    950: '#000000',
  },
}
SCSS
$custom: #987e97;
$custom-light: #b6a3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#987e97",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 302.308,
    "s": 11.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62559,
    "c": 0.04788,
    "h": 327.3
  },
  "luminance": 0.23831
}

Semantic roles & 50–950 ramp

primary
#987E97
secondary
#B3BEB4
accent
#B47674
background
#FBFAFB
surface
#F6F3F6
border
#D0CDD0
text
#110F11
muted
#807F80

Preview Lab

Preview with #987E97

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

Preview Lab → · Contrast checker → · Palette generator →

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