#987BBF#987BBF

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

Color values

HEX#987BBF
RGBrgb(152, 123, 191)
HSLhsl(266, 35%, 62%)
HSVhsv(266, 36%, 75%)
CMYKcmyk(20.4%, 35.6%, 0%, 25.1%)
CIE-LABlab(56.69, 24.97, -31.49)
CIE-LCHlch(56.69, 40.19, 308.42°)
OKLaboklab(63.65% 0.057 -0.0871)
OKLCHoklch(63.65% 0.104 303.2)
XYZxyz(29.4339, 24.6029, 52.4783)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#987BBF #A2BF7B
analogous
#7B80BF #987BBF #BA7BBF
triadic
#987BBF #BF987B #7BBF98
tetradic
#987BBF #BF7B80 #A2BF7B #7BBFBA
square
#987BBF #BF7B80 #A2BF7B #7BBFBA
split-complementary
#987BBF #BFBA7B #80BF7B
monochromatic
#5B3F81 #7853AA #987BBF #B8A4D3 #D8CDE7

Accessibility & contrast

On white

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

On black

5.92
#987BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #987BBF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##987BBF#FFFFFF#000000##000000
##987BBF1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C87C2
Deuteranopia (green-blind)
#7288BD
Tritanopia (blue-blind)
#928694
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #987bbf;
/* rgb */ color: rgb(152, 123, 191);
/* oklch */ color: oklch(63.6% 0.104 303.2);
Tailwind
colors: {
  custom: {
    50: '#b7a1d2',
    500: '#987bbf',
    950: '#000000',
  },
}
SCSS
$custom: #987bbf;
$custom-light: #b7a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#987bbf",
  "rgb": {
    "r": 152,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 265.588,
    "s": 34.694,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63649,
    "c": 0.10411,
    "h": 303.2
  },
  "luminance": 0.24603
}

Semantic roles & 50–950 ramp

primary
#987BBF
secondary
#CDD8BE
accent
#AE387B
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110F14
muted
#807E82

Preview Lab

Preview with #987BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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