#8B87BC#8B87BC

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

Color values

HEX#8B87BC
RGBrgb(139, 135, 188)
HSLhsl(245, 28%, 63%)
HSVhsv(245, 28%, 74%)
CMYKcmyk(26.1%, 28.2%, 0%, 26.3%)
CIE-LABlab(58.46, 13.27, -27.12)
CIE-LCHlch(58.46, 30.20, 296.07°)
OKLaboklab(64.69% 0.0236 -0.0749)
OKLCHoklch(64.69% 0.079 287.4)
XYZxyz(28.3863, 26.4472, 51.1765)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87BC #B8BC87
analogous
#879DBC #8B87BC #A587BC
triadic
#8B87BC #BC8B87 #87BC8B
tetradic
#8B87BC #BC879D #B8BC87 #87BCA5
square
#8B87BC #BC879D #B8BC87 #87BCA5
split-complementary
#8B87BC #BCA587 #9DBC87
monochromatic
#4C4881 #6560A6 #8B87BC #B1AED2 #D7D6E8

Accessibility & contrast

On white

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

On black

6.29
#8B87BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B87BC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B87BC#FFFFFF#000000##000000
##8B87BC1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBE
Deuteranopia (green-blind)
#788BBB
Tritanopia (blue-blind)
#80909A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b87bc;
/* rgb */ color: rgb(139, 135, 188);
/* oklch */ color: oklch(64.7% 0.079 287.4);
Tailwind
colors: {
  custom: {
    50: '#aeaad0',
    500: '#8b87bc',
    950: '#000000',
  },
}
SCSS
$custom: #8b87bc;
$custom-light: #aeaad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87bc",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 244.528,
    "s": 28.342,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64692,
    "c": 0.07855,
    "h": 287.4
  },
  "luminance": 0.26448
}

Semantic roles & 50–950 ramp

primary
#8B87BC
secondary
#D7D9C6
accent
#A73F9F
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8B87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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