#987BB6#987BB6

#987BB6 is a light, moderate violet. Relative luminance 0.242; OKLCH L 63.2% C 0.092 H 306.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#987BB6
RGBrgb(152, 123, 182)
HSLhsl(269, 29%, 60%)
HSVhsv(269, 32%, 71%)
CMYKcmyk(16.5%, 32.4%, 0%, 28.6%)
CIE-LABlab(56.31, 22.89, -26.93)
CIE-LCHlch(56.31, 35.35, 310.36°)
OKLaboklab(63.23% 0.0547 -0.0741)
OKLCHoklch(63.23% 0.092 306.4)
XYZxyz(28.4737, 24.2189, 47.4216)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987BB6 #99B67B
analogous
#7B7CB6 #987BB6 #B67BB6
triadic
#987BB6 #B6987B #7BB698
tetradic
#987BB6 #B67B7C #99B67B #7BB6B6
square
#987BB6 #B67B7C #99B67B #7BB6B6
split-complementary
#987BB6 #B6B67B #7CB67B
monochromatic
#5B4176 #79579D #987BB6 #B7A2CC #D5CAE2

Accessibility & contrast

On white

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

On black

5.84
#987BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987BB6
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987BB6#FFFFFF#000000##000000
##987BB61.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F86B8
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#948390
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987bb6;
/* rgb */ color: rgb(152, 123, 182);
/* oklch */ color: oklch(63.2% 0.092 306.4);
Tailwind
colors: {
  custom: {
    50: '#b7a1cc',
    500: '#987bb6',
    950: '#000000',
  },
}
SCSS
$custom: #987bb6;
$custom-light: #b7a1cc;
$custom-dark: #000000;
JSON
{
  "hex": "#987bb6",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 182
  },
  "hsl": {
    "h": 269.492,
    "s": 28.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63234,
    "c": 0.09213,
    "h": 306.4
  },
  "luminance": 0.24219
}

Semantic roles & 50–950 ramp

primary
#987BB6
secondary
#C7D2BB
accent
#C56395
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110F13
muted
#807E82

Preview Lab

Preview with #987BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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