#987CA5#987CA5

#987CA5 is a light, moderate purple. Relative luminance 0.238; OKLCH L 62.7% C 0.068 H 315.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#987CA5
RGBrgb(152, 124, 165)
HSLhsl(281, 19%, 57%)
HSVhsv(281, 25%, 65%)
CMYKcmyk(7.9%, 24.8%, 0%, 35.3%)
CIE-LABlab(55.89, 18.58, -17.79)
CIE-LCHlch(55.89, 25.73, 316.23°)
OKLaboklab(62.7% 0.0482 -0.0483)
OKLCHoklch(62.7% 0.068 315)
XYZxyz(26.9470, 23.8077, 38.7658)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CA5 #89A57C
analogous
#847CA5 #987CA5 #A57C9E
triadic
#987CA5 #A5987C #7CA598
tetradic
#987CA5 #A5847C #89A57C #7C9EA5
square
#987CA5 #A5847C #89A57C #7C9EA5
split-complementary
#987CA5 #9EA57C #7CA584
monochromatic
#594463 #7A5D87 #987CA5 #B5A0BE #D1C5D7

Accessibility & contrast

On white

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

On black

5.76
#987CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CA5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CA5#FFFFFF#000000##000000
##987CA51.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A7
Deuteranopia (green-blind)
#7C87A4
Tritanopia (blue-blind)
#97818A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987ca5;
/* rgb */ color: rgb(152, 124, 165);
/* oklch */ color: oklch(62.7% 0.068 315.0);
Tailwind
colors: {
  custom: {
    50: '#b6a2bf',
    500: '#987ca5',
    950: '#000000',
  },
}
SCSS
$custom: #987ca5;
$custom-light: #b6a2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#987ca5",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 165
  },
  "hsl": {
    "h": 280.976,
    "s": 18.552,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62701,
    "c": 0.06826,
    "h": 315
  },
  "luminance": 0.23807
}

Semantic roles & 50–950 ramp

primary
#987CA5
secondary
#BBC7B6
accent
#BB6D86
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110F12
muted
#807E81

Preview Lab

Preview with #987CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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