#987FBD#987FBD

#987FBD is a light, moderate violet. Relative luminance 0.255; OKLCH L 64.3% C 0.095 H 302.3°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#987FBD
RGBrgb(152, 127, 189)
HSLhsl(264, 32%, 62%)
HSVhsv(264, 33%, 74%)
CMYKcmyk(19.6%, 32.8%, 0%, 25.9%)
CIE-LABlab(57.59, 22.19, -28.95)
CIE-LCHlch(57.59, 36.48, 307.47°)
OKLaboklab(64.31% 0.0506 -0.0799)
OKLCHoklch(64.31% 0.095 302.3)
XYZxyz(29.7217, 25.5283, 51.4959)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987FBD #A4BD7F
analogous
#7F85BD #987FBD #B77FBD
triadic
#987FBD #BD987F #7FBD98
tetradic
#987FBD #BD7F85 #A4BD7F #7FBDB7
square
#987FBD #BD7F85 #A4BD7F #7FBDB7
split-complementary
#987FBD #BDB77F #85BD7F
monochromatic
#5B4280 #7857A8 #987FBD #B8A7D2 #D9D0E7

Accessibility & contrast

On white

3.44
#987FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#987FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987FBD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987FBD#FFFFFF#000000##000000
##987FBD1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABF
Deuteranopia (green-blind)
#768ABB
Tritanopia (blue-blind)
#928896
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #987fbd;
/* rgb */ color: rgb(152, 127, 189);
/* oklch */ color: oklch(64.3% 0.095 302.3);
Tailwind
colors: {
  custom: {
    50: '#b7a4d1',
    500: '#987fbd',
    950: '#000000',
  },
}
SCSS
$custom: #987fbd;
$custom-light: #b7a4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#987fbd",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 189
  },
  "hsl": {
    "h": 264.194,
    "s": 31.959,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64308,
    "c": 0.09456,
    "h": 302.3
  },
  "luminance": 0.25528
}

Semantic roles & 50–950 ramp

primary
#987FBD
secondary
#CED7C0
accent
#AB3B7E
background
#FBFAFC
surface
#F6F4F9
border
#D0CED2
text
#110F14
muted
#807F82

Preview Lab

Preview with #987FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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