#987CDD#987CDD

#987CDD is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.4% C 0.143 H 295.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#987CDD
RGBrgb(152, 124, 221)
HSLhsl(257, 59%, 68%)
HSVhsv(257, 44%, 87%)
CMYKcmyk(31.2%, 43.9%, 0%, 13.3%)
CIE-LABlab(58.33, 31.75, -45.86)
CIE-LCHlch(58.33, 55.78, 304.70°)
OKLaboklab(65.35% 0.0614 -0.1287)
OKLCHoklch(65.35% 0.143 295.5)
XYZxyz(33.2045, 26.3107, 71.7217)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987CDD #C1DD7C
analogous
#7C90DD #987CDD #C97CDD
triadic
#987CDD #DD987C #7CDD98
tetradic
#987CDD #DD7C90 #C1DD7C #7CDDC9
square
#987CDD #DD7C90 #C1DD7C #7CDDC9
split-complementary
#987CDD #DDC97C #90DD7C
monochromatic
#542EB1 #724BD0 #987CDD #BEADEA #E4DDF6

Accessibility & contrast

On white

3.35
#987CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#987CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987CDD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987CDD#FFFFFF#000000##000000
##987CDD1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8DE1
Deuteranopia (green-blind)
#638BDB
Tritanopia (blue-blind)
#898EA2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #987cdd;
/* rgb */ color: rgb(152, 124, 221);
/* oklch */ color: oklch(65.4% 0.143 295.5);
Tailwind
colors: {
  custom: {
    50: '#b9a2e8',
    500: '#987cdd',
    950: '#000000',
  },
}
SCSS
$custom: #987cdd;
$custom-light: #b9a2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#987cdd",
  "rgb": {
    "r": 152,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 257.32,
    "s": 58.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65355,
    "c": 0.14262,
    "h": 295.5
  },
  "luminance": 0.26311
}

Semantic roles & 50–950 ramp

primary
#987CDD
secondary
#E1E9CB
accent
#C61F96
background
#FBFAFE
surface
#F6F3FC
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #987CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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