#987EAE#987EAE

#987EAE is a light, moderate violet. Relative luminance 0.247; OKLCH L 63.5% C 0.076 H 308.9°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#987EAE
RGBrgb(152, 126, 174)
HSLhsl(273, 23%, 59%)
HSVhsv(273, 28%, 68%)
CMYKcmyk(12.6%, 27.6%, 0%, 31.8%)
CIE-LABlab(56.74, 19.37, -21.69)
CIE-LCHlch(56.74, 29.08, 311.76°)
OKLaboklab(63.46% 0.0479 -0.0593)
OKLCHoklch(63.46% 0.076 308.9)
XYZxyz(28.0484, 24.6533, 43.3171)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987EAE #94AE7E
analogous
#807EAE #987EAE #AE7EAC
triadic
#987EAE #AE987E #7EAE98
tetradic
#987EAE #AE807E #94AE7E #7EACAE
square
#987EAE #AE807E #94AE7E #7EACAE
split-complementary
#987EAE #ACAE7E #7EAE80
monochromatic
#5A456D #7A5C93 #987EAE #B6A4C6 #D4C9DD

Accessibility & contrast

On white

3.54
#987EAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#987EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987EAE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987EAE#FFFFFF#000000##000000
##987EAE1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7687B0
Deuteranopia (green-blind)
#7B89AD
Tritanopia (blue-blind)
#95848F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #987eae;
/* rgb */ color: rgb(152, 126, 174);
/* oklch */ color: oklch(63.5% 0.076 308.9);
Tailwind
colors: {
  custom: {
    50: '#b7a3c6',
    500: '#987eae',
    950: '#000000',
  },
}
SCSS
$custom: #987eae;
$custom-light: #b7a3c6;
$custom-dark: #000000;
JSON
{
  "hex": "#987eae",
  "rgb": {
    "r": 152,
    "g": 126,
    "b": 174
  },
  "hsl": {
    "h": 272.5,
    "s": 22.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63459,
    "c": 0.07621,
    "h": 308.9
  },
  "luminance": 0.24653
}

Semantic roles & 50–950 ramp

primary
#987EAE
secondary
#C3CDBA
accent
#BF6890
background
#FBFAFC
surface
#F6F3F8
border
#D0CDD1
text
#110F13
muted
#807F82

Preview Lab

Preview with #987EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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