#987A94#987A94

#987A94 is a mid, muted purple. Relative luminance 0.227; OKLCH L 61.7% C 0.052 H 330.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#987A94
RGBrgb(152, 122, 148)
HSLhsl(308, 13%, 54%)
HSVhsv(308, 20%, 60%)
CMYKcmyk(0%, 19.7%, 2.6%, 40.4%)
CIE-LABlab(54.80, 16.28, -9.61)
CIE-LCHlch(54.80, 18.90, 329.46°)
OKLaboklab(61.66% 0.0457 -0.0256)
OKLCHoklch(61.66% 0.052 330.7)
XYZxyz(25.2532, 22.7332, 31.0689)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A94 #7A987E
analogous
#8D7A98 #987A94 #987A85
triadic
#987A94 #94987A #7A9498
tetradic
#987A94 #988D7A #7A987E #7A8598
square
#987A94 #988D7A #7A987E #7A8598
split-complementary
#987A94 #85987A #7A988D
monochromatic
#554253 #785D74 #987A94 #B39CB0 #CDBFCB

Accessibility & contrast

On white

3.79
#987A94 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#987A94 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987A94
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987A94#FFFFFF#000000##000000
##987A941.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#798195
Deuteranopia (green-blind)
#808593
Tritanopia (blue-blind)
#9B7C83
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #987a94;
/* rgb */ color: rgb(152, 122, 148);
/* oklch */ color: oklch(61.7% 0.052 330.7);
Tailwind
colors: {
  custom: {
    50: '#b6a0b3',
    500: '#987a94',
    950: '#000000',
  },
}
SCSS
$custom: #987a94;
$custom-light: #b6a0b3;
$custom-dark: #000000;
JSON
{
  "hex": "#987a94",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 148
  },
  "hsl": {
    "h": 308,
    "s": 12.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.05236,
    "h": 330.7
  },
  "luminance": 0.22733
}

Semantic roles & 50–950 ramp

primary
#987A94
secondary
#B0BDB2
accent
#B67B72
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E11
muted
#807E80

Preview Lab

Preview with #987A94

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

Preview Lab → · Contrast checker → · Palette generator →

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