#987CC1#987CC1

#987CC1 is a light, moderate violet. Relative luminance 0.249; OKLCH L 63.9% C 0.105 H 302.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#987CC1
RGBrgb(152, 124, 193)
HSLhsl(264, 36%, 62%)
HSVhsv(264, 36%, 76%)
CMYKcmyk(21.2%, 35.8%, 0%, 24.3%)
CIE-LABlab(57.02, 24.87, -32.11)
CIE-LCHlch(57.02, 40.61, 307.75°)
OKLaboklab(63.93% 0.056 -0.0889)
OKLCHoklch(63.93% 0.105 302.2)
XYZxyz(29.7801, 24.9410, 53.6869)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CC1 #A5C17C
analogous
#7C83C1 #987CC1 #BB7CC1
triadic
#987CC1 #C1987C #7CC198
tetradic
#987CC1 #C17C83 #A5C17C #7CC1BB
square
#987CC1 #C17C83 #A5C17C #7CC1BB
split-complementary
#987CC1 #C1BB7C #83C17C
monochromatic
#5B3F84 #7752AD #987CC1 #B9A6D5 #D9CFE8

Accessibility & contrast

On white

3.51
#987CC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#987CC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CC1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CC1#FFFFFF#000000##000000
##987CC11.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C88C4
Deuteranopia (green-blind)
#7289BF
Tritanopia (blue-blind)
#918796
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #987cc1;
/* rgb */ color: rgb(152, 124, 193);
/* oklch */ color: oklch(63.9% 0.105 302.2);
Tailwind
colors: {
  custom: {
    50: '#b7a2d4',
    500: '#987cc1',
    950: '#000000',
  },
}
SCSS
$custom: #987cc1;
$custom-light: #b7a2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#987cc1",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 193
  },
  "hsl": {
    "h": 264.348,
    "s": 35.751,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.10509,
    "h": 302.2
  },
  "luminance": 0.24941
}

Semantic roles & 50–950 ramp

primary
#987CC1
secondary
#CFD9C0
accent
#AF377E
background
#FBFAFD
surface
#F6F3FA
border
#D0CDD3
text
#110F14
muted
#807F83

Preview Lab

Preview with #987CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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