#987FA9#987FA9

#987FA9 is a light, moderate violet. Relative luminance 0.247; OKLCH L 63.4% C 0.068 H 311.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#987FA9
RGBrgb(152, 127, 169)
HSLhsl(276, 20%, 58%)
HSVhsv(276, 25%, 66%)
CMYKcmyk(10.1%, 24.9%, 0%, 33.7%)
CIE-LABlab(56.80, 17.70, -18.72)
CIE-LCHlch(56.80, 25.76, 313.40°)
OKLaboklab(63.45% 0.0448 -0.0509)
OKLCHoklch(63.45% 0.068 311.4)
XYZxyz(27.6985, 24.7190, 40.8405)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987FA9 #90A97F
analogous
#837FA9 #987FA9 #A97FA5
triadic
#987FA9 #A9987F #7FA998
tetradic
#987FA9 #A9837F #90A97F #7FA5A9
square
#987FA9 #A9837F #90A97F #7FA5A9
split-complementary
#987FA9 #A5A97F #7FA983
monochromatic
#5A4668 #7A5E8C #987FA9 #B5A4C2 #D3C8DA

Accessibility & contrast

On white

3.53
#987FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#987FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987FA9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987FA9#FFFFFF#000000##000000
##987FA91.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7987AB
Deuteranopia (green-blind)
#7E89A8
Tritanopia (blue-blind)
#96848E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #987fa9;
/* rgb */ color: rgb(152, 127, 169);
/* oklch */ color: oklch(63.4% 0.068 311.4);
Tailwind
colors: {
  custom: {
    50: '#b6a4c2',
    500: '#987fa9',
    950: '#000000',
  },
}
SCSS
$custom: #987fa9;
$custom-light: #b6a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#987fa9",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 169
  },
  "hsl": {
    "h": 275.714,
    "s": 19.626,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63446,
    "c": 0.06784,
    "h": 311.4
  },
  "luminance": 0.24719
}

Semantic roles & 50–950 ramp

primary
#987FA9
secondary
#C0CABA
accent
#BC6C8C
background
#FBFAFB
surface
#F6F4F7
border
#D0CED0
text
#110F12
muted
#807F81

Preview Lab

Preview with #987FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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