#8987BC#8987BC

#8987BC is a light, moderate blue. Relative luminance 0.263; OKLCH L 64.5% C 0.079 H 285.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8987BC
RGBrgb(137, 135, 188)
HSLhsl(242, 28%, 63%)
HSVhsv(242, 28%, 74%)
CMYKcmyk(27.1%, 28.2%, 0%, 26.3%)
CIE-LABlab(58.30, 12.66, -27.38)
CIE-LCHlch(58.30, 30.17, 294.81°)
OKLaboklab(64.53% 0.0213 -0.0757)
OKLCHoklch(64.53% 0.079 285.7)
XYZxyz(28.0553, 26.2766, 51.1610)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8987BC #BABC87
analogous
#879FBC #8987BC #A387BC
triadic
#8987BC #BC8987 #87BC89
tetradic
#8987BC #BC879F #BABC87 #87BCA3
square
#8987BC #BC879F #BABC87 #87BCA3
split-complementary
#8987BC #BCA387 #9FBC87
monochromatic
#4A4881 #6260A6 #8987BC #B0AED2 #D6D6E8

Accessibility & contrast

On white

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

On black

6.26
#8987BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8987BC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8987BC#FFFFFF#000000##000000
##8987BC1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBE
Deuteranopia (green-blind)
#778BBB
Tritanopia (blue-blind)
#7D909A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8987bc;
/* rgb */ color: rgb(137, 135, 188);
/* oklch */ color: oklch(64.5% 0.079 285.7);
Tailwind
colors: {
  custom: {
    50: '#aca9d0',
    500: '#8987bc',
    950: '#000000',
  },
}
SCSS
$custom: #8987bc;
$custom-light: #aca9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8987bc",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 242.264,
    "s": 28.342,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64528,
    "c": 0.07865,
    "h": 285.7
  },
  "luminance": 0.26277
}

Semantic roles & 50–950 ramp

primary
#8987BC
secondary
#D8D9C6
accent
#A73FA3
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8987BC

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

Preview Lab → · Contrast checker → · Palette generator →

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