#987BBE#987BBE

#987BBE is a light, moderate violet. Relative luminance 0.246; OKLCH L 63.6% C 0.103 H 303.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#987BBE
RGBrgb(152, 123, 190)
HSLhsl(266, 34%, 61%)
HSVhsv(266, 35%, 75%)
CMYKcmyk(20%, 35.3%, 0%, 25.5%)
CIE-LABlab(56.64, 24.74, -30.98)
CIE-LCHlch(56.64, 39.65, 308.61°)
OKLaboklab(63.6% 0.0567 -0.0857)
OKLCHoklch(63.6% 0.103 303.5)
XYZxyz(29.3242, 24.5591, 51.9007)
Luminance0.2456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987BBE #A1BE7B
analogous
#7B80BE #987BBE #BA7BBE
triadic
#987BBE #BE987B #7BBE98
tetradic
#987BBE #BE7B80 #A1BE7B #7BBEBA
square
#987BBE #BE7B80 #A1BE7B #7BBEBA
split-complementary
#987BBE #BEBA7B #80BE7B
monochromatic
#5B3F80 #7853A9 #987BBE #B8A4D2 #D8CDE6

Accessibility & contrast

On white

3.55
#987BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#987BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987BBE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987BBE#FFFFFF#000000##000000
##987BBE1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87C1
Deuteranopia (green-blind)
#7288BC
Tritanopia (blue-blind)
#928594
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #987bbe;
/* rgb */ color: rgb(152, 123, 190);
/* oklch */ color: oklch(63.6% 0.103 303.5);
Tailwind
colors: {
  custom: {
    50: '#b7a1d2',
    500: '#987bbe',
    950: '#000000',
  },
}
SCSS
$custom: #987bbe;
$custom-light: #b7a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#987bbe",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 190
  },
  "hsl": {
    "h": 265.97,
    "s": 34.01,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63602,
    "c": 0.10278,
    "h": 303.5
  },
  "luminance": 0.24559
}

Semantic roles & 50–950 ramp

primary
#987BBE
secondary
#CCD7BE
accent
#AD397B
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82

Preview Lab

Preview with #987BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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