#987BB7#987BB7

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

Color values

HEX#987BB7
RGBrgb(152, 123, 183)
HSLhsl(269, 29%, 60%)
HSVhsv(269, 33%, 72%)
CMYKcmyk(16.9%, 32.8%, 0%, 28.2%)
CIE-LABlab(56.35, 23.12, -27.44)
CIE-LCHlch(56.35, 35.88, 310.11°)
OKLaboklab(63.28% 0.055 -0.0756)
OKLCHoklch(63.28% 0.093 306)
XYZxyz(28.5774, 24.2604, 47.9678)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987BB7 #9AB77B
analogous
#7B7CB7 #987BB7 #B67BB7
triadic
#987BB7 #B7987B #7BB798
tetradic
#987BB7 #B77B7C #9AB77B #7BB7B6
square
#987BB7 #B77B7C #9AB77B #7BB7B6
split-complementary
#987BB7 #B7B67B #7CB77B
monochromatic
#5B4177 #79569E #987BB7 #B7A3CD #D6CAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987BB7#FFFFFF#000000##000000
##987BB71.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)
#6F86B9
Deuteranopia (green-blind)
#7587B5
Tritanopia (blue-blind)
#948491
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #987bb7;
/* rgb */ color: rgb(152, 123, 183);
/* oklch */ color: oklch(63.3% 0.093 306.0);
Tailwind
colors: {
  custom: {
    50: '#b7a1cc',
    500: '#987bb7',
    950: '#000000',
  },
}
SCSS
$custom: #987bb7;
$custom-light: #b7a1cc;
$custom-dark: #000000;
JSON
{
  "hex": "#987bb7",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 269,
    "s": 29.412,
    "l": 60
  },
  "oklch": {
    "l": 0.63279,
    "c": 0.09346,
    "h": 306
  },
  "luminance": 0.2426
}

Semantic roles & 50–950 ramp

primary
#987BB7
secondary
#C7D2BB
accent
#C66296
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F13
muted
#807E82

Preview Lab

Preview with #987BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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