#8B87BB#8B87BB

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

Color values

HEX#8B87BB
RGBrgb(139, 135, 187)
HSLhsl(245, 28%, 63%)
HSVhsv(245, 28%, 73%)
CMYKcmyk(25.7%, 27.8%, 0%, 26.7%)
CIE-LABlab(58.42, 13.02, -26.62)
CIE-LCHlch(58.42, 29.63, 296.07°)
OKLaboklab(64.65% 0.0233 -0.0735)
OKLCHoklch(64.65% 0.077 287.6)
XYZxyz(28.2788, 26.4043, 50.6107)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87BB #B7BB87
analogous
#879DBB #8B87BB #A587BB
triadic
#8B87BB #BB8B87 #87BB8B
tetradic
#8B87BB #BB879D #B7BB87 #87BBA5
square
#8B87BB #BB879D #B7BB87 #87BBA5
split-complementary
#8B87BB #BBA587 #9DBB87
monochromatic
#4C487F #6560A5 #8B87BB #B1AED1 #D7D5E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B87BB#FFFFFF#000000##000000
##8B87BB1.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)
#798EBD
Deuteranopia (green-blind)
#798BBA
Tritanopia (blue-blind)
#809099
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8b87bb;
/* rgb */ color: rgb(139, 135, 187);
/* oklch */ color: oklch(64.6% 0.077 287.6);
Tailwind
colors: {
  custom: {
    50: '#aeaacf',
    500: '#8b87bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b87bb;
$custom-light: #aeaacf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87bb",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 244.615,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64648,
    "c": 0.07709,
    "h": 287.6
  },
  "luminance": 0.26405
}

Semantic roles & 50–950 ramp

primary
#8B87BB
secondary
#D7D8C6
accent
#A63F9E
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8B87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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