#987EA3#987EA3

#987EA3 is a light, moderate purple. Relative luminance 0.242; OKLCH L 63.0% C 0.062 H 315.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#987EA3
RGBrgb(152, 126, 163)
HSLhsl(282, 17%, 57%)
HSVhsv(282, 23%, 64%)
CMYKcmyk(6.7%, 22.7%, 0%, 36.1%)
CIE-LABlab(56.33, 17.00, -15.98)
CIE-LCHlch(56.33, 23.33, 316.77°)
OKLaboklab(63.01% 0.0445 -0.0433)
OKLCHoklch(63.01% 0.062 315.8)
XYZxyz(27.0196, 24.2418, 37.8990)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987EA3 #89A37E
analogous
#867EA3 #987EA3 #A37E9C
triadic
#987EA3 #A3987E #7EA398
tetradic
#987EA3 #A3867E #89A37E #7E9CA3
square
#987EA3 #A3867E #89A37E #7E9CA3
split-complementary
#987EA3 #9CA37E #7EA386
monochromatic
#594561 #7A5F85 #987EA3 #B5A2BC #D1C5D6

Accessibility & contrast

On white

3.59
#987EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#987EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987EA3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987EA3#FFFFFF#000000##000000
##987EA31.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7985A5
Deuteranopia (green-blind)
#7F88A2
Tritanopia (blue-blind)
#98828B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987ea3;
/* rgb */ color: rgb(152, 126, 163);
/* oklch */ color: oklch(63.0% 0.062 315.8);
Tailwind
colors: {
  custom: {
    50: '#b6a3be',
    500: '#987ea3',
    950: '#000000',
  },
}
SCSS
$custom: #987ea3;
$custom-light: #b6a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#987ea3",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 282.162,
    "s": 16.742,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63011,
    "c": 0.06203,
    "h": 315.8
  },
  "luminance": 0.24241
}

Semantic roles & 50–950 ramp

primary
#987EA3
secondary
#BBC6B7
accent
#B96E85
background
#FBFAFB
surface
#F6F3F6
border
#D0CDD0
text
#110F12
muted
#807F81

Preview Lab

Preview with #987EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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