#8A87A6#8A87A6

#8A87A6 is a light, muted blue. Relative luminance 0.255; OKLCH L 63.7% C 0.046 H 289.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A87A6
RGBrgb(138, 135, 166)
HSLhsl(246, 15%, 59%)
HSVhsv(246, 19%, 65%)
CMYKcmyk(16.9%, 18.7%, 0%, 34.9%)
CIE-LABlab(57.54, 7.69, -15.98)
CIE-LCHlch(57.54, 17.73, 295.68°)
OKLaboklab(63.69% 0.0154 -0.0435)
OKLCHoklch(63.69% 0.046 289.5)
XYZxyz(26.0266, 25.4841, 39.6167)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87A6 #A3A687
analogous
#8794A6 #8A87A6 #9A87A6
triadic
#8A87A6 #A68A87 #87A68A
tetradic
#8A87A6 #A68794 #A3A687 #87A69A
square
#8A87A6 #A68794 #A3A687 #87A69A
split-complementary
#8A87A6 #A69A87 #94A687
monochromatic
#4F4C67 #6A668A #8A87A6 #ACAAC0 #CFCDDA

Accessibility & contrast

On white

3.44
#8A87A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8A87A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87A6
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87A6#FFFFFF#000000##000000
##8A87A61.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#808BA7
Deuteranopia (green-blind)
#808AA5
Tritanopia (blue-blind)
#848C91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a87a6;
/* rgb */ color: rgb(138, 135, 166);
/* oklch */ color: oklch(63.7% 0.046 289.5);
Tailwind
colors: {
  custom: {
    50: '#aca9c0',
    500: '#8a87a6',
    950: '#000000',
  },
}
SCSS
$custom: #8a87a6;
$custom-light: #aca9c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87a6",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 166
  },
  "hsl": {
    "h": 245.806,
    "s": 14.833,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63687,
    "c": 0.04614,
    "h": 289.5
  },
  "luminance": 0.25484
}

Semantic roles & 50–950 ramp

primary
#8A87A6
secondary
#C9CABE
accent
#B870B1
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A87A6

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

Preview Lab → · Contrast checker → · Palette generator →

#8A87A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva