#987FA3#987FA3

#987FA3 is a light, moderate purple. Relative luminance 0.245; OKLCH L 63.2% C 0.060 H 315.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#987FA3
RGBrgb(152, 127, 163)
HSLhsl(282, 16%, 57%)
HSVhsv(282, 22%, 64%)
CMYKcmyk(6.7%, 22.1%, 0%, 36.1%)
CIE-LABlab(56.58, 16.42, -15.60)
CIE-LCHlch(56.58, 22.65, 316.48°)
OKLaboklab(63.21% 0.0429 -0.0422)
OKLCHoklch(63.21% 0.06 315.5)
XYZxyz(27.1481, 24.4988, 37.9418)
Luminance0.2450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987FA3 #8AA37F
analogous
#867FA3 #987FA3 #A37F9C
triadic
#987FA3 #A3987F #7FA398
tetradic
#987FA3 #A3867F #8AA37F #7F9CA3
square
#987FA3 #A3867F #8AA37F #7F9CA3
split-complementary
#987FA3 #9CA37F #7FA386
monochromatic
#594662 #7A6085 #987FA3 #B5A3BD #D1C6D6

Accessibility & contrast

On white

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

On black

5.90
#987FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987FA3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987FA3#FFFFFF#000000##000000
##987FA31.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #987fa3;
/* rgb */ color: rgb(152, 127, 163);
/* oklch */ color: oklch(63.2% 0.060 315.5);
Tailwind
colors: {
  custom: {
    50: '#b6a4be',
    500: '#987fa3',
    950: '#000000',
  },
}
SCSS
$custom: #987fa3;
$custom-light: #b6a4be;
$custom-dark: #000000;
JSON
{
  "hex": "#987fa3",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 281.667,
    "s": 16.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63207,
    "c": 0.06017,
    "h": 315.5
  },
  "luminance": 0.24498
}

Semantic roles & 50–950 ramp

primary
#987FA3
secondary
#BCC6B8
accent
#B96F85
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#110F12
muted
#807F81

Preview Lab

Preview with #987FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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