#8A87B0#8A87B0

#8A87B0 is a light, moderate blue. Relative luminance 0.259; OKLCH L 64.1% C 0.061 H 287.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A87B0
RGBrgb(138, 135, 176)
HSLhsl(244, 21%, 61%)
HSVhsv(244, 23%, 69%)
CMYKcmyk(21.6%, 23.3%, 0%, 31%)
CIE-LABlab(57.91, 10.03, -21.14)
CIE-LCHlch(57.91, 23.40, 295.37°)
OKLaboklab(64.09% 0.0187 -0.058)
OKLCHoklch(64.09% 0.061 287.9)
XYZxyz(26.9798, 25.8654, 44.6370)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87B0 #ADB087
analogous
#8798B0 #8A87B0 #9E87B0
triadic
#8A87B0 #B08A87 #87B08A
tetradic
#8A87B0 #B08798 #ADB087 #87B09E
square
#8A87B0 #B08798 #ADB087 #87B09E
split-complementary
#8A87B0 #B09E87 #98B087
monochromatic
#4E4B72 #676397 #8A87B0 #AEACC8 #D2D1E1

Accessibility & contrast

On white

3.40
#8A87B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8A87B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87B0
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87B0#FFFFFF#000000##000000
##8A87B01.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8CB2
Deuteranopia (green-blind)
#7C8AAF
Tritanopia (blue-blind)
#828E95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a87b0;
/* rgb */ color: rgb(138, 135, 176);
/* oklch */ color: oklch(64.1% 0.061 287.9);
Tailwind
colors: {
  custom: {
    50: '#aca9c7',
    500: '#8a87b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a87b0;
$custom-light: #aca9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87b0",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 176
  },
  "hsl": {
    "h": 244.39,
    "s": 20.603,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64092,
    "c": 0.06094,
    "h": 287.9
  },
  "luminance": 0.25866
}

Semantic roles & 50–950 ramp

primary
#8A87B0
secondary
#D0D1C2
accent
#9F4799
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A87B0

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

Preview Lab → · Contrast checker → · Palette generator →

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