#987CA3#987CA3

#987CA3 is a light, moderate purple. Relative luminance 0.237; OKLCH L 62.6% C 0.066 H 316.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#987CA3
RGBrgb(152, 124, 163)
HSLhsl(283, 17%, 56%)
HSVhsv(283, 24%, 64%)
CMYKcmyk(6.7%, 23.9%, 0%, 36.1%)
CIE-LABlab(55.82, 18.16, -16.75)
CIE-LCHlch(55.82, 24.70, 317.30°)
OKLaboklab(62.62% 0.0476 -0.0454)
OKLCHoklch(62.62% 0.066 316.3)
XYZxyz(26.7664, 23.7355, 37.8146)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CA3 #87A37C
analogous
#857CA3 #987CA3 #A37C9B
triadic
#987CA3 #A3987C #7CA398
tetradic
#987CA3 #A3857C #87A37C #7C9BA3
square
#987CA3 #A3857C #87A37C #7C9BA3
split-complementary
#987CA3 #9BA37C #7CA385
monochromatic
#594461 #7A5D85 #987CA3 #B4A0BC #D1C4D5

Accessibility & contrast

On white

3.65
#987CA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#987CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CA3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CA3#FFFFFF#000000##000000
##987CA31.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A5
Deuteranopia (green-blind)
#7D87A2
Tritanopia (blue-blind)
#988089
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987ca3;
/* rgb */ color: rgb(152, 124, 163);
/* oklch */ color: oklch(62.6% 0.066 316.3);
Tailwind
colors: {
  custom: {
    50: '#b6a2be',
    500: '#987ca3',
    950: '#000000',
  },
}
SCSS
$custom: #987ca3;
$custom-light: #b6a2be;
$custom-dark: #000000;
JSON
{
  "hex": "#987ca3",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 163
  },
  "hsl": {
    "h": 283.077,
    "s": 17.489,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.06577,
    "h": 316.3
  },
  "luminance": 0.23735
}

Semantic roles & 50–950 ramp

primary
#987CA3
secondary
#BAC5B5
accent
#BA6E83
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110F12
muted
#807E81

Preview Lab

Preview with #987CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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