#987FC9#987FC9

#987FC9 is a light, moderate violet. Relative luminance 0.261; OKLCH L 64.9% C 0.111 H 298.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#987FC9
RGBrgb(152, 127, 201)
HSLhsl(260, 41%, 64%)
HSVhsv(260, 37%, 79%)
CMYKcmyk(24.4%, 36.8%, 0%, 21.2%)
CIE-LABlab(58.10, 25.05, -34.96)
CIE-LCHlch(58.10, 43.00, 305.62°)
OKLaboklab(64.87% 0.0535 -0.0971)
OKLCHoklch(64.87% 0.111 298.8)
XYZxyz(31.0785, 26.0710, 58.6419)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987FC9 #B0C97F
analogous
#7F8BC9 #987FC9 #BD7FC9
triadic
#987FC9 #C9987F #7FC998
tetradic
#987FC9 #C97F8B #B0C97F #7FC9BD
square
#987FC9 #C97F8B #B0C97F #7FC9BD
split-complementary
#987FC9 #C9BD7F #8BC97F
monochromatic
#593D91 #7554B7 #987FC9 #BBAADB #DDD5ED

Accessibility & contrast

On white

3.38
#987FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#987FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987FC9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987FC9#FFFFFF#000000##000000
##987FC91.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8CCC
Deuteranopia (green-blind)
#718BC7
Tritanopia (blue-blind)
#8F8B9B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #987fc9;
/* rgb */ color: rgb(152, 127, 201);
/* oklch */ color: oklch(64.9% 0.111 298.8);
Tailwind
colors: {
  custom: {
    50: '#b7a4d9',
    500: '#987fc9',
    950: '#000000',
  },
}
SCSS
$custom: #987fc9;
$custom-light: #b7a4d9;
$custom-dark: #000000;
JSON
{
  "hex": "#987fc9",
  "rgb": {
    "r": 152,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 260.27,
    "s": 40.659,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64873,
    "c": 0.11088,
    "h": 298.8
  },
  "luminance": 0.26071
}

Semantic roles & 50–950 ramp

primary
#987FC9
secondary
#D6DFC5
accent
#B43288
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83

Preview Lab

Preview with #987FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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