#987BDD#987BDD

#987BDD is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.2% C 0.144 H 295.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#987BDD
RGBrgb(152, 123, 221)
HSLhsl(258, 59%, 67%)
HSVhsv(258, 44%, 87%)
CMYKcmyk(31.2%, 44.3%, 0%, 13.3%)
CIE-LABlab(58.10, 32.33, -46.23)
CIE-LCHlch(58.10, 56.42, 304.96°)
OKLaboklab(65.18% 0.0627 -0.1298)
OKLCHoklch(65.18% 0.144 295.8)
XYZxyz(33.0798, 26.0613, 71.6801)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987BDD #C0DD7B
analogous
#7B8FDD #987BDD #C97BDD
triadic
#987BDD #DD987B #7BDD98
tetradic
#987BDD #DD7B8F #C0DD7B #7BDDC9
square
#987BDD #DD7B8F #C0DD7B #7BDDC9
split-complementary
#987BDD #DDC97B #8FDD7B
monochromatic
#542DB0 #724AD0 #987BDD #BEACEA #E4DCF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##987BDD#FFFFFF#000000##000000
##987BDD1.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)
#5C8CE1
Deuteranopia (green-blind)
#628ADB
Tritanopia (blue-blind)
#898DA1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #987bdd;
/* rgb */ color: rgb(152, 123, 221);
/* oklch */ color: oklch(65.2% 0.144 295.8);
Tailwind
colors: {
  custom: {
    50: '#b9a1e8',
    500: '#987bdd',
    950: '#000000',
  },
}
SCSS
$custom: #987bdd;
$custom-light: #b9a1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#987bdd",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 221
  },
  "hsl": {
    "h": 257.755,
    "s": 59.036,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65177,
    "c": 0.14418,
    "h": 295.8
  },
  "luminance": 0.26062
}

Semantic roles & 50–950 ramp

primary
#987BDD
secondary
#E0E9CB
accent
#C71F95
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120F16
muted
#817E84

Preview Lab

Preview with #987BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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