#987B95#987B95

#987B95 is a mid, muted purple. Relative luminance 0.230; OKLCH L 61.9% C 0.051 H 329.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#987B95
RGBrgb(152, 123, 149)
HSLhsl(306, 12%, 54%)
HSVhsv(306, 19%, 60%)
CMYKcmyk(0%, 19.1%, 2%, 40.4%)
CIE-LABlab(55.08, 15.90, -9.76)
CIE-LCHlch(55.08, 18.65, 328.46°)
OKLaboklab(61.89% 0.0444 -0.026)
OKLCHoklch(61.89% 0.051 329.6)
XYZxyz(25.4561, 23.0118, 31.5287)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987B95 #7B987E
analogous
#8D7B98 #987B95 #987B87
triadic
#987B95 #95987B #7B9598
tetradic
#987B95 #988D7B #7B987E #7B8798
square
#987B95 #988D7B #7B987E #7B8798
split-complementary
#987B95 #87987B #7B988D
monochromatic
#564354 #785E75 #987B95 #B39DB1 #CEC0CC

Accessibility & contrast

On white

3.75
#987B95 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#987B95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987B95
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987B95#FFFFFF#000000##000000
##987B951.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8296
Deuteranopia (green-blind)
#808594
Tritanopia (blue-blind)
#9A7D84
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #987b95;
/* rgb */ color: rgb(152, 123, 149);
/* oklch */ color: oklch(61.9% 0.051 329.6);
Tailwind
colors: {
  custom: {
    50: '#b6a1b4',
    500: '#987b95',
    950: '#000000',
  },
}
SCSS
$custom: #987b95;
$custom-light: #b6a1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#987b95",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 149
  },
  "hsl": {
    "h": 306.207,
    "s": 12.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.05148,
    "h": 329.6
  },
  "luminance": 0.23011
}

Semantic roles & 50–950 ramp

primary
#987B95
secondary
#B1BEB2
accent
#B57973
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110F11
muted
#807E80

Preview Lab

Preview with #987B95

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

Preview Lab → · Contrast checker → · Palette generator →

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