#987CCD#987CCD

#987CCD is a light, vivid violet. Relative luminance 0.255; OKLCH L 64.5% C 0.121 H 298.9°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#987CCD
RGBrgb(152, 124, 205)
HSLhsl(261, 45%, 65%)
HSVhsv(261, 40%, 80%)
CMYKcmyk(25.9%, 39.5%, 0%, 19.6%)
CIE-LABlab(57.56, 27.76, -38.07)
CIE-LCHlch(57.56, 47.12, 306.09°)
OKLaboklab(64.52% 0.0586 -0.1061)
OKLCHoklch(64.52% 0.121 298.9)
XYZxyz(31.1735, 25.4983, 61.0251)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CCD #B1CD7C
analogous
#7C89CD #987CCD #C17CCD
triadic
#987CCD #CD987C #7CCD98
tetradic
#987CCD #CD7C89 #B1CD7C #7CCDC1
square
#987CCD #CD7C89 #B1CD7C #7CCDC1
split-complementary
#987CCD #CDC17C #89CD7C
monochromatic
#593996 #7550BC #987CCD #BBA8DE #DED5EF

Accessibility & contrast

On white

3.44
#987CCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#987CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CCD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CCD#FFFFFF#000000##000000
##987CCD1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#678AD0
Deuteranopia (green-blind)
#6C8ACB
Tritanopia (blue-blind)
#8E8A9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #987ccd;
/* rgb */ color: rgb(152, 124, 205);
/* oklch */ color: oklch(64.5% 0.121 298.9);
Tailwind
colors: {
  custom: {
    50: '#b8a2dc',
    500: '#987ccd',
    950: '#000000',
  },
}
SCSS
$custom: #987ccd;
$custom-light: #b8a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#987ccd",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 260.741,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64518,
    "c": 0.12122,
    "h": 298.9
  },
  "luminance": 0.25498
}

Semantic roles & 50–950 ramp

primary
#987CCD
secondary
#D7E0C4
accent
#B82E88
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #987CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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