#987EA0#987EA0

#987EA0 is a light, muted purple. Relative luminance 0.241; OKLCH L 62.9% C 0.058 H 318.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#987EA0
RGBrgb(152, 126, 160)
HSLhsl(286, 15%, 56%)
HSVhsv(286, 21%, 63%)
CMYKcmyk(5%, 21.2%, 0%, 37.3%)
CIE-LABlab(56.22, 16.38, -14.41)
CIE-LCHlch(56.22, 21.81, 318.65°)
OKLaboklab(62.9% 0.0435 -0.0389)
OKLCHoklch(62.9% 0.058 318.2)
XYZxyz(26.7540, 24.1356, 36.5001)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987EA0 #86A07E
analogous
#877EA0 #987EA0 #A07E97
triadic
#987EA0 #A0987E #7EA098
tetradic
#987EA0 #A0877E #86A07E #7E97A0
square
#987EA0 #A0877E #86A07E #7E97A0
split-complementary
#987EA0 #97A07E #7EA087
monochromatic
#58455E #795F81 #987EA0 #B4A1BA #D0C4D4

Accessibility & contrast

On white

3.60
#987EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#987EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987EA0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987EA0#FFFFFF#000000##000000
##987EA01.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #987ea0;
/* rgb */ color: rgb(152, 126, 160);
/* oklch */ color: oklch(62.9% 0.058 318.2);
Tailwind
colors: {
  custom: {
    50: '#b6a3bc',
    500: '#987ea0',
    950: '#000000',
  },
}
SCSS
$custom: #987ea0;
$custom-light: #b6a3bc;
$custom-dark: #000000;
JSON
{
  "hex": "#987ea0",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 160
  },
  "hsl": {
    "h": 285.882,
    "s": 15.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62895,
    "c": 0.05832,
    "h": 318.2
  },
  "luminance": 0.24135
}

Semantic roles & 50–950 ramp

primary
#987EA0
secondary
#B9C4B6
accent
#B87081
background
#FBFAFB
surface
#F6F3F6
border
#D0CDD0
text
#110F12
muted
#807F81

Preview Lab

Preview with #987EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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