#8B87BF#8B87BF

#8B87BF is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.8% C 0.083 H 287.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8B87BF
RGBrgb(139, 135, 191)
HSLhsl(244, 30%, 64%)
HSVhsv(244, 29%, 75%)
CMYKcmyk(27.2%, 29.3%, 0%, 25.1%)
CIE-LABlab(58.58, 14.02, -28.64)
CIE-LCHlch(58.58, 31.88, 296.09°)
OKLaboklab(64.83% 0.0244 -0.0793)
OKLCHoklch(64.83% 0.083 287.1)
XYZxyz(28.7130, 26.5779, 52.8974)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87BF #BBBF87
analogous
#879FBF #8B87BF #A787BF
triadic
#8B87BF #BF8B87 #87BF8B
tetradic
#8B87BF #BF879F #BBBF87 #87BFA7
square
#8B87BF #BF879F #BBBF87 #87BFA7
split-complementary
#8B87BF #BFA787 #9FBF87
monochromatic
#4B4785 #645FAA #8B87BF #B2AFD4 #D8D7EA

Accessibility & contrast

On white

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

On black

6.32
#8B87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B87BF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B87BF#FFFFFF#000000##000000
##8B87BF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EC1
Deuteranopia (green-blind)
#778BBE
Tritanopia (blue-blind)
#7F919B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8b87bf;
/* rgb */ color: rgb(139, 135, 191);
/* oklch */ color: oklch(64.8% 0.083 287.1);
Tailwind
colors: {
  custom: {
    50: '#aeaad2',
    500: '#8b87bf',
    950: '#000000',
  },
}
SCSS
$custom: #8b87bf;
$custom-light: #aeaad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87bf",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 244.286,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64827,
    "c": 0.08293,
    "h": 287.1
  },
  "luminance": 0.26579
}

Semantic roles & 50–950 ramp

primary
#8B87BF
secondary
#D9DBC7
accent
#A93CA1
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8B87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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