#987EA5#987EA5

#987EA5 is a light, moderate purple. Relative luminance 0.243; OKLCH L 63.1% C 0.065 H 314.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#987EA5
RGBrgb(152, 126, 165)
HSLhsl(280, 18%, 57%)
HSVhsv(280, 24%, 65%)
CMYKcmyk(7.9%, 23.6%, 0%, 35.3%)
CIE-LABlab(56.40, 17.42, -17.02)
CIE-LCHlch(56.40, 24.36, 315.66°)
OKLaboklab(63.09% 0.0451 -0.0462)
OKLCHoklch(63.09% 0.065 314.3)
XYZxyz(27.2002, 24.3141, 38.8502)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987EA5 #8BA57E
analogous
#857EA5 #987EA5 #A57E9F
triadic
#987EA5 #A5987E #7EA598
tetradic
#987EA5 #A5857E #8BA57E #7E9FA5
square
#987EA5 #A5857E #8BA57E #7E9FA5
split-complementary
#987EA5 #9FA57E #7EA585
monochromatic
#594563 #7A5E87 #987EA5 #B5A2BE #D2C6D7

Accessibility & contrast

On white

3.58
#987EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#987EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987EA5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987EA5#FFFFFF#000000##000000
##987EA51.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7986A7
Deuteranopia (green-blind)
#7E88A4
Tritanopia (blue-blind)
#97838B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987ea5;
/* rgb */ color: rgb(152, 126, 165);
/* oklch */ color: oklch(63.1% 0.065 314.3);
Tailwind
colors: {
  custom: {
    50: '#b6a3bf',
    500: '#987ea5',
    950: '#000000',
  },
}
SCSS
$custom: #987ea5;
$custom-light: #b6a3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#987ea5",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 280,
    "s": 17.808,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6309,
    "c": 0.06456,
    "h": 314.3
  },
  "luminance": 0.24314
}

Semantic roles & 50–950 ramp

primary
#987EA5
secondary
#BDC7B7
accent
#BA6D87
background
#FBFAFB
surface
#F6F3F7
border
#D0CDD0
text
#110F12
muted
#807F81

Preview Lab

Preview with #987EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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