#8A87A2#8A87A2

#8A87A2 is a light, muted blue. Relative luminance 0.253; OKLCH L 63.5% C 0.040 H 290.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8A87A2
RGBrgb(138, 135, 162)
HSLhsl(247, 13%, 58%)
HSVhsv(247, 17%, 64%)
CMYKcmyk(14.8%, 16.7%, 0%, 36.5%)
CIE-LABlab(57.40, 6.78, -13.90)
CIE-LCHlch(57.40, 15.46, 295.99°)
OKLaboklab(63.53% 0.014 -0.0377)
OKLCHoklch(63.53% 0.04 290.3)
XYZxyz(25.6654, 25.3396, 37.7143)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87A2 #9FA287
analogous
#8791A2 #8A87A2 #9787A2
triadic
#8A87A2 #A28A87 #87A28A
tetradic
#8A87A2 #A28791 #9FA287 #87A297
square
#8A87A2 #A28791 #9FA287 #87A297
split-complementary
#8A87A2 #A29787 #91A287
monochromatic
#4F4C62 #6A6785 #8A87A2 #ACA9BD #CDCCD7

Accessibility & contrast

On white

3.46
#8A87A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#8A87A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87A2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87A2#FFFFFF#000000##000000
##8A87A21.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)
#818AA3
Deuteranopia (green-blind)
#8189A1
Tritanopia (blue-blind)
#858B90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a87a2;
/* rgb */ color: rgb(138, 135, 162);
/* oklch */ color: oklch(63.5% 0.040 290.3);
Tailwind
colors: {
  custom: {
    50: '#aca9bd',
    500: '#8a87a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a87a2;
$custom-light: #aca9bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87a2",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 246.667,
    "s": 12.676,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63533,
    "c": 0.04021,
    "h": 290.3
  },
  "luminance": 0.2534
}

Semantic roles & 50–950 ramp

primary
#8A87A2
secondary
#C7C8BD
accent
#B672AE
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8A87A2

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

Preview Lab → · Contrast checker → · Palette generator →

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