#987AA4#987AA4

#987AA4 is a light, moderate purple. Relative luminance 0.233; OKLCH L 62.3% C 0.071 H 316.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#987AA4
RGBrgb(152, 122, 164)
HSLhsl(283, 19%, 56%)
HSVhsv(283, 26%, 64%)
CMYKcmyk(7.3%, 25.6%, 0%, 35.7%)
CIE-LABlab(55.35, 19.52, -18.04)
CIE-LCHlch(55.35, 26.58, 317.26°)
OKLaboklab(62.27% 0.051 -0.049)
OKLCHoklch(62.27% 0.071 316.2)
XYZxyz(26.6083, 23.2752, 38.2056)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987AA4 #86A47A
analogous
#837AA4 #987AA4 #A47A9B
triadic
#987AA4 #A4987A #7AA498
tetradic
#987AA4 #A4837A #86A47A #7A9BA4
square
#987AA4 #A4837A #86A47A #7A9BA4
split-complementary
#987AA4 #9BA47A #7AA483
monochromatic
#584261 #795B85 #987AA4 #B49EBD #D0C3D6

Accessibility & contrast

On white

3.71
#987AA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#987AA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987AA4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987AA4#FFFFFF#000000##000000
##987AA41.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7583A6
Deuteranopia (green-blind)
#7B85A3
Tritanopia (blue-blind)
#987F89
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #987aa4;
/* rgb */ color: rgb(152, 122, 164);
/* oklch */ color: oklch(62.3% 0.071 316.2);
Tailwind
colors: {
  custom: {
    50: '#b6a0bf',
    500: '#987aa4',
    950: '#000000',
  },
}
SCSS
$custom: #987aa4;
$custom-light: #b6a0bf;
$custom-dark: #000000;
JSON
{
  "hex": "#987aa4",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 164
  },
  "hsl": {
    "h": 282.857,
    "s": 18.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62274,
    "c": 0.07074,
    "h": 316.2
  },
  "luminance": 0.23275
}

Semantic roles & 50–950 ramp

primary
#987AA4
secondary
#B9C6B4
accent
#BB6C83
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #987AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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