#987FA2#987FA2

#987FA2 is a light, muted purple. Relative luminance 0.245; OKLCH L 63.2% C 0.059 H 316.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#987FA2
RGBrgb(152, 127, 162)
HSLhsl(283, 16%, 57%)
HSVhsv(283, 22%, 64%)
CMYKcmyk(6.2%, 21.6%, 0%, 36.5%)
CIE-LABlab(56.55, 16.21, -15.07)
CIE-LCHlch(56.55, 22.14, 317.09°)
OKLaboklab(63.17% 0.0426 -0.0407)
OKLCHoklch(63.17% 0.059 316.2)
XYZxyz(27.0589, 24.4632, 37.4718)
Luminance0.2446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987FA2 #89A27F
analogous
#877FA2 #987FA2 #A27F9B
triadic
#987FA2 #A2987F #7FA298
tetradic
#987FA2 #A2877F #89A27F #7F9BA2
square
#987FA2 #A2877F #89A27F #7F9BA2
split-complementary
#987FA2 #9BA27F #7FA287
monochromatic
#594660 #7A6084 #987FA2 #B5A2BC #D1C6D6

Accessibility & contrast

On white

3.56
#987FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#987FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987FA2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987FA2#FFFFFF#000000##000000
##987FA21.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B86A3
Deuteranopia (green-blind)
#8088A1
Tritanopia (blue-blind)
#98838B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #987fa2;
/* rgb */ color: rgb(152, 127, 162);
/* oklch */ color: oklch(63.2% 0.059 316.2);
Tailwind
colors: {
  custom: {
    50: '#b6a4bd',
    500: '#987fa2',
    950: '#000000',
  },
}
SCSS
$custom: #987fa2;
$custom-light: #b6a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#987fa2",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 282.857,
    "s": 15.837,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63169,
    "c": 0.05892,
    "h": 316.2
  },
  "luminance": 0.24463
}

Semantic roles & 50–950 ramp

primary
#987FA2
secondary
#BBC6B7
accent
#B96F84
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#110F12
muted
#807F81

Preview Lab

Preview with #987FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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