#8E87BF#8E87BF

#8E87BF is a light, moderate blue. Relative luminance 0.268; OKLCH L 65.1% C 0.083 H 289.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8E87BF
RGBrgb(142, 135, 191)
HSLhsl(248, 30%, 64%)
HSVhsv(248, 29%, 75%)
CMYKcmyk(25.7%, 29.3%, 0%, 25.1%)
CIE-LABlab(58.83, 14.94, -28.24)
CIE-LCHlch(58.83, 31.94, 297.87°)
OKLaboklab(65.08% 0.0278 -0.0781)
OKLCHoklch(65.08% 0.083 289.6)
XYZxyz(29.2210, 26.8398, 52.9212)
Luminance0.2684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E87BF #B8BF87
analogous
#879CBF #8E87BF #AA87BF
triadic
#8E87BF #BF8E87 #87BF8E
tetradic
#8E87BF #BF879C #B8BF87 #87BFAA
square
#8E87BF #BF879C #B8BF87 #87BFAA
split-complementary
#8E87BF #BFAA87 #9CBF87
monochromatic
#4F4785 #685FAA #8E87BF #B4AFD4 #D9D7EA

Accessibility & contrast

On white

3.30
#8E87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#8E87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E87BF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E87BF#FFFFFF#000000##000000
##8E87BF1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#788FC1
Deuteranopia (green-blind)
#788CBE
Tritanopia (blue-blind)
#83919B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8e87bf;
/* rgb */ color: rgb(142, 135, 191);
/* oklch */ color: oklch(65.1% 0.083 289.6);
Tailwind
colors: {
  custom: {
    50: '#b0aad2',
    500: '#8e87bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e87bf;
$custom-light: #b0aad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e87bf",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 247.5,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65075,
    "c": 0.08289,
    "h": 289.6
  },
  "luminance": 0.2684
}

Semantic roles & 50–950 ramp

primary
#8E87BF
secondary
#D8DBC7
accent
#A93C9C
background
#FAFAFC
surface
#F5F4F9
border
#CFCED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8E87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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