#8E87BB#8E87BB

#8E87BB is a light, moderate blue. Relative luminance 0.267; OKLCH L 64.9% C 0.077 H 290.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8E87BB
RGBrgb(142, 135, 187)
HSLhsl(248, 28%, 63%)
HSVhsv(248, 28%, 73%)
CMYKcmyk(24.1%, 27.8%, 0%, 26.7%)
CIE-LABlab(58.66, 13.95, -26.22)
CIE-LCHlch(58.66, 29.70, 298.02°)
OKLaboklab(64.9% 0.0267 -0.0723)
OKLCHoklch(64.9% 0.077 290.2)
XYZxyz(28.7868, 26.6662, 50.6345)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E87BB #B4BB87
analogous
#879ABB #8E87BB #A887BB
triadic
#8E87BB #BB8E87 #87BB8E
tetradic
#8E87BB #BB879A #B4BB87 #87BBA8
square
#8E87BB #BB879A #B4BB87 #87BBA8
split-complementary
#8E87BB #BBA887 #9ABB87
monochromatic
#50487F #6960A5 #8E87BB #B3AED1 #D8D5E7

Accessibility & contrast

On white

3.32
#8E87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#8E87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E87BB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E87BB#FFFFFF#000000##000000
##8E87BB1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBD
Deuteranopia (green-blind)
#7A8CBA
Tritanopia (blue-blind)
#849099
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8e87bb;
/* rgb */ color: rgb(142, 135, 187);
/* oklch */ color: oklch(64.9% 0.077 290.2);
Tailwind
colors: {
  custom: {
    50: '#b0aacf',
    500: '#8e87bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e87bb;
$custom-light: #b0aacf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e87bb",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 248.077,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64897,
    "c": 0.07708,
    "h": 290.2
  },
  "luminance": 0.26667
}

Semantic roles & 50–950 ramp

primary
#8E87BB
secondary
#D6D8C6
accent
#A63F98
background
#FAFAFC
surface
#F5F4F9
border
#CFCED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8E87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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