#987A9C#987A9C

#987A9C is a mid, moderate purple. Relative luminance 0.230; OKLCH L 62.0% C 0.061 H 322.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#987A9C
RGBrgb(152, 122, 156)
HSLhsl(293, 15%, 55%)
HSVhsv(293, 22%, 61%)
CMYKcmyk(2.6%, 21.8%, 0%, 38.8%)
CIE-LABlab(55.07, 17.87, -13.84)
CIE-LCHlch(55.07, 22.60, 322.23°)
OKLaboklab(61.96% 0.0484 -0.0373)
OKLCHoklch(61.96% 0.061 322.4)
XYZxyz(25.9084, 22.9953, 34.5198)
Luminance0.2299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987A9C #7E9C7A
analogous
#877A9C #987A9C #9C7A8F
triadic
#987A9C #9C987A #7A9C98
tetradic
#987A9C #9C877A #7E9C7A #7A8F9C
square
#987A9C #9C877A #7E9C7A #7A8F9C
split-complementary
#987A9C #8F9C7A #7A9C87
monochromatic
#574259 #795D7C #987A9C #B39DB6 #CEC0D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987A9C#FFFFFF#000000##000000
##987A9C1.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)
#77829D
Deuteranopia (green-blind)
#7E859B
Tritanopia (blue-blind)
#997D86
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #987a9c;
/* rgb */ color: rgb(152, 122, 156);
/* oklch */ color: oklch(62.0% 0.061 322.4);
Tailwind
colors: {
  custom: {
    50: '#b6a0b9',
    500: '#987a9c',
    950: '#000000',
  },
}
SCSS
$custom: #987a9c;
$custom-light: #b6a0b9;
$custom-dark: #000000;
JSON
{
  "hex": "#987a9c",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 156
  },
  "hsl": {
    "h": 292.941,
    "s": 14.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61958,
    "c": 0.06113,
    "h": 322.4
  },
  "luminance": 0.22995
}

Semantic roles & 50–950 ramp

primary
#987A9C
secondary
#B3C0B2
accent
#B77079
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E11
muted
#807E80

Preview Lab

Preview with #987A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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