#987BAD#987BAD

#987BAD is a light, moderate violet. Relative luminance 0.239; OKLCH L 62.8% C 0.080 H 310.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#987BAD
RGBrgb(152, 123, 173)
HSLhsl(275, 23%, 58%)
HSVhsv(275, 29%, 68%)
CMYKcmyk(12.1%, 28.9%, 0%, 32.2%)
CIE-LABlab(55.95, 20.88, -22.32)
CIE-LCHlch(55.95, 30.57, 313.09°)
OKLaboklab(62.84% 0.0522 -0.061)
OKLCHoklch(62.84% 0.08 310.5)
XYZxyz(27.5734, 23.8587, 42.6797)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987BAD #90AD7B
analogous
#7F7BAD #987BAD #AD7BA9
triadic
#987BAD #AD987B #7BAD98
tetradic
#987BAD #AD7F7B #90AD7B #7BA9AD
square
#987BAD #AD7F7B #90AD7B #7BA9AD
split-complementary
#987BAD #A9AD7B #7BAD7F
monochromatic
#5A436B #7A5A91 #987BAD #B5A1C4 #D3C6DC

Accessibility & contrast

On white

3.64
#987BAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#987BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987BAD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987BAD#FFFFFF#000000##000000
##987BAD1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385AF
Deuteranopia (green-blind)
#7987AB
Tritanopia (blue-blind)
#96828D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987bad;
/* rgb */ color: rgb(152, 123, 173);
/* oklch */ color: oklch(62.8% 0.080 310.5);
Tailwind
colors: {
  custom: {
    50: '#b7a1c5',
    500: '#987bad',
    950: '#000000',
  },
}
SCSS
$custom: #987bad;
$custom-light: #b7a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#987bad",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 173
  },
  "hsl": {
    "h": 274.8,
    "s": 23.364,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6284,
    "c": 0.08032,
    "h": 310.5
  },
  "luminance": 0.23858
}

Semantic roles & 50–950 ramp

primary
#987BAD
secondary
#C0CCB8
accent
#C0688D
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #987BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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