#987CA0#987CA0

#987CA0 is a light, moderate purple. Relative luminance 0.236; OKLCH L 62.5% C 0.062 H 318.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#987CA0
RGBrgb(152, 124, 160)
HSLhsl(287, 16%, 56%)
HSVhsv(287, 23%, 63%)
CMYKcmyk(5%, 22.5%, 0%, 37.3%)
CIE-LABlab(55.71, 17.53, -15.18)
CIE-LCHlch(55.71, 23.19, 319.11°)
OKLaboklab(62.5% 0.0466 -0.041)
OKLCHoklch(62.5% 0.062 318.6)
XYZxyz(26.5008, 23.6292, 36.4157)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CA0 #84A07C
analogous
#867CA0 #987CA0 #A07C96
triadic
#987CA0 #A0987C #7CA098
tetradic
#987CA0 #A0867C #84A07C #7C96A0
square
#987CA0 #A0867C #84A07C #7C96A0
split-complementary
#987CA0 #96A07C #7CA086
monochromatic
#58445E #795E81 #987CA0 #B49FBA #D0C3D3

Accessibility & contrast

On white

3.67
#987CA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#987CA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CA0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CA0#FFFFFF#000000##000000
##987CA01.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A2
Deuteranopia (green-blind)
#7E869F
Tritanopia (blue-blind)
#988088
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #987ca0;
/* rgb */ color: rgb(152, 124, 160);
/* oklch */ color: oklch(62.5% 0.062 318.6);
Tailwind
colors: {
  custom: {
    50: '#b6a2bc',
    500: '#987ca0',
    950: '#000000',
  },
}
SCSS
$custom: #987ca0;
$custom-light: #b6a2bc;
$custom-dark: #000000;
JSON
{
  "hex": "#987ca0",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 160
  },
  "hsl": {
    "h": 286.667,
    "s": 15.929,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62503,
    "c": 0.06209,
    "h": 318.6
  },
  "luminance": 0.23629
}

Semantic roles & 50–950 ramp

primary
#987CA0
secondary
#B8C3B4
accent
#B96F7F
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110F12
muted
#807E81

Preview Lab

Preview with #987CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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