#8A87AA#8A87AA

#8A87AA is a light, muted blue. Relative luminance 0.256; OKLCH L 63.8% C 0.052 H 288.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A87AA
RGBrgb(138, 135, 170)
HSLhsl(245, 17%, 60%)
HSVhsv(245, 21%, 67%)
CMYKcmyk(18.8%, 20.6%, 0%, 33.3%)
CIE-LABlab(57.69, 8.61, -18.05)
CIE-LCHlch(57.69, 20.00, 295.50°)
OKLaboklab(63.85% 0.0167 -0.0493)
OKLCHoklch(63.85% 0.052 288.8)
XYZxyz(26.3992, 25.6332, 41.5793)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87AA #A7AA87
analogous
#8796AA #8A87AA #9C87AA
triadic
#8A87AA #AA8A87 #87AA8A
tetradic
#8A87AA #AA8796 #A7AA87 #87AA9C
square
#8A87AA #AA8796 #A7AA87 #87AA9C
split-complementary
#8A87AA #AA9C87 #96AA87
monochromatic
#4E4C6B #69658F #8A87AA #ADABC3 #D0CFDD

Accessibility & contrast

On white

3.43
#8A87AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#8A87AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87AA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87AA#FFFFFF#000000##000000
##8A87AA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8BAC
Deuteranopia (green-blind)
#7E8AA9
Tritanopia (blue-blind)
#838D93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a87aa;
/* rgb */ color: rgb(138, 135, 170);
/* oklch */ color: oklch(63.8% 0.052 288.8);
Tailwind
colors: {
  custom: {
    50: '#aca9c3',
    500: '#8a87aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a87aa;
$custom-light: #aca9c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87aa",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 245.143,
    "s": 17.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63846,
    "c": 0.05206,
    "h": 288.8
  },
  "luminance": 0.25633
}

Semantic roles & 50–950 ramp

primary
#8A87AA
secondary
#CCCDC0
accent
#BA6EB3
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A87AA

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

Preview Lab → · Contrast checker → · Palette generator →

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