#987CA4#987CA4

#987CA4 is a light, moderate purple. Relative luminance 0.238; OKLCH L 62.7% C 0.067 H 315.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#987CA4
RGBrgb(152, 124, 164)
HSLhsl(282, 18%, 56%)
HSVhsv(282, 24%, 64%)
CMYKcmyk(7.3%, 24.4%, 0%, 35.7%)
CIE-LABlab(55.86, 18.37, -17.27)
CIE-LCHlch(55.86, 25.21, 316.76°)
OKLaboklab(62.66% 0.0479 -0.0469)
OKLCHoklch(62.66% 0.067 315.6)
XYZxyz(26.8564, 23.7714, 38.2883)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CA4 #88A47C
analogous
#847CA4 #987CA4 #A47C9C
triadic
#987CA4 #A4987C #7CA498
tetradic
#987CA4 #A4847C #88A47C #7C9CA4
square
#987CA4 #A4847C #88A47C #7C9CA4
split-complementary
#987CA4 #9CA47C #7CA484
monochromatic
#594462 #7A5D86 #987CA4 #B4A0BD #D1C4D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987CA4#FFFFFF#000000##000000
##987CA41.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)
#7784A6
Deuteranopia (green-blind)
#7D87A3
Tritanopia (blue-blind)
#98818A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987ca4;
/* rgb */ color: rgb(152, 124, 164);
/* oklch */ color: oklch(62.7% 0.067 315.6);
Tailwind
colors: {
  custom: {
    50: '#b6a2bf',
    500: '#987ca4',
    950: '#000000',
  },
}
SCSS
$custom: #987ca4;
$custom-light: #b6a2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#987ca4",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 164
  },
  "hsl": {
    "h": 282,
    "s": 18.018,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62661,
    "c": 0.06702,
    "h": 315.6
  },
  "luminance": 0.23771
}

Semantic roles & 50–950 ramp

primary
#987CA4
secondary
#BBC6B6
accent
#BB6D84
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110F12
muted
#807E81

Preview Lab

Preview with #987CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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