#8987BB#8987BB

#8987BB is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.5% C 0.077 H 285.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8987BB
RGBrgb(137, 135, 187)
HSLhsl(242, 28%, 63%)
HSVhsv(242, 28%, 73%)
CMYKcmyk(26.7%, 27.8%, 0%, 26.7%)
CIE-LABlab(58.26, 12.41, -26.88)
CIE-LCHlch(58.26, 29.60, 294.78°)
OKLaboklab(64.48% 0.021 -0.0743)
OKLCHoklch(64.48% 0.077 285.8)
XYZxyz(27.9479, 26.2336, 50.5952)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8987BB #B9BB87
analogous
#879FBB #8987BB #A387BB
triadic
#8987BB #BB8987 #87BB89
tetradic
#8987BB #BB879F #B9BB87 #87BBA3
square
#8987BB #BB879F #B9BB87 #87BBA3
split-complementary
#8987BB #BBA387 #9FBB87
monochromatic
#4A487F #6360A5 #8987BB #AFAED1 #D6D5E7

Accessibility & contrast

On white

3.36
#8987BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#8987BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8987BB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8987BB#FFFFFF#000000##000000
##8987BB1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBD
Deuteranopia (green-blind)
#788BBA
Tritanopia (blue-blind)
#7D9099
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8987bb;
/* rgb */ color: rgb(137, 135, 187);
/* oklch */ color: oklch(64.5% 0.077 285.8);
Tailwind
colors: {
  custom: {
    50: '#aca9cf',
    500: '#8987bb',
    950: '#000000',
  },
}
SCSS
$custom: #8987bb;
$custom-light: #aca9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8987bb",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 242.308,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64484,
    "c": 0.07719,
    "h": 285.8
  },
  "luminance": 0.26234
}

Semantic roles & 50–950 ramp

primary
#8987BB
secondary
#D7D8C6
accent
#A63FA2
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8987BB

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

Preview Lab → · Contrast checker → · Palette generator →

#8987BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva