#8A87BD#8A87BD

#8A87BD is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.7% C 0.080 H 286.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8A87BD
RGBrgb(138, 135, 189)
HSLhsl(243, 29%, 64%)
HSVhsv(243, 29%, 74%)
CMYKcmyk(27%, 28.6%, 0%, 25.9%)
CIE-LABlab(58.42, 13.21, -27.76)
CIE-LCHlch(58.42, 30.74, 295.46°)
OKLaboklab(64.66% 0.0227 -0.0768)
OKLCHoklch(64.66% 0.08 286.5)
XYZxyz(28.3282, 26.4048, 51.7384)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87BD #BABD87
analogous
#879FBD #8A87BD #A587BD
triadic
#8A87BD #BD8A87 #87BD8A
tetradic
#8A87BD #BD879F #BABD87 #87BDA5
square
#8A87BD #BD879F #BABD87 #87BDA5
split-complementary
#8A87BD #BDA587 #9FBD87
monochromatic
#4B4882 #6460A7 #8A87BD #B0AED3 #D7D6E8

Accessibility & contrast

On white

3.34
#8A87BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#8A87BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87BD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87BD#FFFFFF#000000##000000
##8A87BD1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EBF
Deuteranopia (green-blind)
#778BBC
Tritanopia (blue-blind)
#7E909A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a87bd;
/* rgb */ color: rgb(138, 135, 189);
/* oklch */ color: oklch(64.7% 0.080 286.5);
Tailwind
colors: {
  custom: {
    50: '#ada9d1',
    500: '#8a87bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a87bd;
$custom-light: #ada9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87bd",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 243.333,
    "s": 29.032,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64655,
    "c": 0.08006,
    "h": 286.5
  },
  "luminance": 0.26405
}

Semantic roles & 50–950 ramp

primary
#8A87BD
secondary
#D8D9C6
accent
#A83EA2
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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