#8C87BF#8C87BF

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

Color values

HEX#8C87BF
RGBrgb(140, 135, 191)
HSLhsl(245, 30%, 64%)
HSVhsv(245, 29%, 75%)
CMYKcmyk(26.7%, 29.3%, 0%, 25.1%)
CIE-LABlab(58.66, 14.32, -28.50)
CIE-LCHlch(58.66, 31.90, 296.68°)
OKLaboklab(64.91% 0.0255 -0.0789)
OKLCHoklch(64.91% 0.083 287.9)
XYZxyz(28.8808, 26.6644, 52.9053)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C87BF #BABF87
analogous
#879EBF #8C87BF #A887BF
triadic
#8C87BF #BF8C87 #87BF8C
tetradic
#8C87BF #BF879E #BABF87 #87BFA8
square
#8C87BF #BF879E #BABF87 #87BFA8
split-complementary
#8C87BF #BFA887 #9EBF87
monochromatic
#4C4785 #665FAA #8C87BF #B2AFD4 #D9D7EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C87BF#FFFFFF#000000##000000
##8C87BF1.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)
#788EC1
Deuteranopia (green-blind)
#778CBE
Tritanopia (blue-blind)
#80919B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8c87bf;
/* rgb */ color: rgb(140, 135, 191);
/* oklch */ color: oklch(64.9% 0.083 287.9);
Tailwind
colors: {
  custom: {
    50: '#aeaad2',
    500: '#8c87bf',
    950: '#000000',
  },
}
SCSS
$custom: #8c87bf;
$custom-light: #aeaad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c87bf",
  "rgb": {
    "r": 140,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 245.357,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64909,
    "c": 0.0829,
    "h": 287.9
  },
  "luminance": 0.26665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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