#987FA0#987FA0

#987FA0 is a light, muted purple. Relative luminance 0.244; OKLCH L 63.1% C 0.056 H 317.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#987FA0
RGBrgb(152, 127, 160)
HSLhsl(285, 15%, 56%)
HSVhsv(285, 21%, 63%)
CMYKcmyk(5%, 20.6%, 0%, 37.3%)
CIE-LABlab(56.48, 15.80, -14.02)
CIE-LCHlch(56.48, 21.13, 318.40°)
OKLaboklab(63.09% 0.0419 -0.0378)
OKLCHoklch(63.09% 0.056 317.9)
XYZxyz(26.8825, 24.3926, 36.5430)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987FA0 #87A07F
analogous
#887FA0 #987FA0 #A07F98
triadic
#987FA0 #A0987F #7FA098
tetradic
#987FA0 #A0887F #87A07F #7F98A0
square
#987FA0 #A0887F #87A07F #7F98A0
split-complementary
#987FA0 #98A07F #7FA088
monochromatic
#59465E #7A6082 #987FA0 #B4A2BA #D1C5D4

Accessibility & contrast

On white

3.57
#987FA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#987FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987FA0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987FA0#FFFFFF#000000##000000
##987FA01.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B86A1
Deuteranopia (green-blind)
#81889F
Tritanopia (blue-blind)
#98828A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987fa0;
/* rgb */ color: rgb(152, 127, 160);
/* oklch */ color: oklch(63.1% 0.056 317.9);
Tailwind
colors: {
  custom: {
    50: '#b6a4bc',
    500: '#987fa0',
    950: '#000000',
  },
}
SCSS
$custom: #987fa0;
$custom-light: #b6a4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#987fa0",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 160
  },
  "hsl": {
    "h": 285.455,
    "s": 14.798,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63092,
    "c": 0.05644,
    "h": 317.9
  },
  "luminance": 0.24392
}

Semantic roles & 50–950 ramp

primary
#987FA0
secondary
#BAC4B7
accent
#B87082
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#110F12
muted
#807F81

Preview Lab

Preview with #987FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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