#8787A9#8787A9

#8787A9 is a light, muted blue. Relative luminance 0.253; OKLCH L 63.6% C 0.051 H 284.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8787A9
RGBrgb(135, 135, 169)
HSLhsl(240, 17%, 60%)
HSVhsv(240, 20%, 66%)
CMYKcmyk(20.1%, 20.1%, 0%, 33.7%)
CIE-LABlab(57.41, 7.39, -17.93)
CIE-LCHlch(57.41, 19.39, 292.40°)
OKLaboklab(63.56% 0.013 -0.049)
OKLCHoklch(63.56% 0.051 284.9)
XYZxyz(25.8154, 25.3430, 41.0600)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8787A9 #A9A987
analogous
#8798A9 #8787A9 #9887A9
triadic
#8787A9 #A98787 #87A987
tetradic
#8787A9 #A98798 #A9A987 #87A998
square
#8787A9 #A98798 #A9A987 #87A998
split-complementary
#8787A9 #A99887 #98A987
monochromatic
#4C4C6A #65658D #8787A9 #ABABC3 #CECEDC

Accessibility & contrast

On white

3.46
#8787A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#8787A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8787A9
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8787A9#FFFFFF#000000##000000
##8787A91.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BAB
Deuteranopia (green-blind)
#7E89A8
Tritanopia (blue-blind)
#808D92
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8787a9;
/* rgb */ color: rgb(135, 135, 169);
/* oklch */ color: oklch(63.6% 0.051 284.9);
Tailwind
colors: {
  custom: {
    50: '#aaa9c2',
    500: '#8787a9',
    950: '#000000',
  },
}
SCSS
$custom: #8787a9;
$custom-light: #aaa9c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8787a9",
  "rgb": {
    "r": 135,
    "g": 135,
    "b": 169
  },
  "hsl": {
    "h": 240,
    "s": 16.505,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63557,
    "c": 0.05069,
    "h": 284.9
  },
  "luminance": 0.25343
}

Semantic roles & 50–950 ramp

primary
#8787A9
secondary
#CCCCBF
accent
#B96FB9
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8787A9

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

Preview Lab → · Contrast checker → · Palette generator →

#8787A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva