#987BB0#987BB0

#987BB0 is a light, moderate violet. Relative luminance 0.240; OKLCH L 63.0% C 0.084 H 309.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#987BB0
RGBrgb(152, 123, 176)
HSLhsl(273, 25%, 59%)
HSVhsv(273, 30%, 69%)
CMYKcmyk(13.6%, 30.1%, 0%, 31%)
CIE-LABlab(56.06, 21.54, -23.87)
CIE-LCHlch(56.06, 32.15, 312.07°)
OKLaboklab(62.97% 0.0531 -0.0654)
OKLCHoklch(62.97% 0.084 309.1)
XYZxyz(27.8669, 23.9762, 44.2257)
Luminance0.2398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987BB0 #93B07B
analogous
#7D7BB0 #987BB0 #B07BAD
triadic
#987BB0 #B0987B #7BB098
tetradic
#987BB0 #B07D7B #93B07B #7BADB0
square
#987BB0 #B07D7B #93B07B #7BADB0
split-complementary
#987BB0 #ADB07B #7BB07D
monochromatic
#5A426E #7A5995 #987BB0 #B6A1C7 #D4C8DE

Accessibility & contrast

On white

3.62
#987BB0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#987BB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987BB0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987BB0#FFFFFF#000000##000000
##987BB01.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7285B2
Deuteranopia (green-blind)
#7887AE
Tritanopia (blue-blind)
#95828E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #987bb0;
/* rgb */ color: rgb(152, 123, 176);
/* oklch */ color: oklch(63.0% 0.084 309.1);
Tailwind
colors: {
  custom: {
    50: '#b7a1c7',
    500: '#987bb0',
    950: '#000000',
  },
}
SCSS
$custom: #987bb0;
$custom-light: #b7a1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#987bb0",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 176
  },
  "hsl": {
    "h": 272.83,
    "s": 25.118,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62969,
    "c": 0.08423,
    "h": 309.1
  },
  "luminance": 0.23976
}

Semantic roles & 50–950 ramp

primary
#987BB0
secondary
#C2CEB9
accent
#C26690
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #987BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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