#987ABD#987ABD

#987ABD is a light, moderate violet. Relative luminance 0.243; OKLCH L 63.4% C 0.103 H 304.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#987ABD
RGBrgb(152, 122, 189)
HSLhsl(267, 34%, 61%)
HSVhsv(267, 35%, 74%)
CMYKcmyk(19.6%, 35.4%, 0%, 25.9%)
CIE-LABlab(56.36, 25.08, -30.86)
CIE-LCHlch(56.36, 39.77, 309.10°)
OKLaboklab(63.37% 0.058 -0.0853)
OKLCHoklch(63.37% 0.103 304.2)
XYZxyz(29.0919, 24.2687, 51.2860)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987ABD #9FBD7A
analogous
#7A7DBD #987ABD #B97ABD
triadic
#987ABD #BD987A #7ABD98
tetradic
#987ABD #BD7A7D #9FBD7A #7ABDB9
square
#987ABD #BD7A7D #9FBD7A #7ABDB9
split-complementary
#987ABD #BDB97A #7DBD7A
monochromatic
#5B3F7E #7953A7 #987ABD #B8A3D1 #D7CCE6

Accessibility & contrast

On white

3.59
#987ABD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#987ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987ABD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987ABD#FFFFFF#000000##000000
##987ABD1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86C0
Deuteranopia (green-blind)
#7287BB
Tritanopia (blue-blind)
#928493
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987abd;
/* rgb */ color: rgb(152, 122, 189);
/* oklch */ color: oklch(63.4% 0.103 304.2);
Tailwind
colors: {
  custom: {
    50: '#b7a0d1',
    500: '#987abd',
    950: '#000000',
  },
}
SCSS
$custom: #987abd;
$custom-light: #b7a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#987abd",
  "rgb": {
    "r": 152,
    "g": 122,
    "b": 189
  },
  "hsl": {
    "h": 266.866,
    "s": 33.668,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63369,
    "c": 0.10317,
    "h": 304.2
  },
  "luminance": 0.24269
}

Semantic roles & 50–950 ramp

primary
#987ABD
secondary
#CBD6BD
accent
#AC3979
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82

Preview Lab

Preview with #987ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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