#8B87B0#8B87B0

#8B87B0 is a light, moderate blue. Relative luminance 0.260; OKLCH L 64.2% C 0.061 H 289.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8B87B0
RGBrgb(139, 135, 176)
HSLhsl(246, 21%, 61%)
HSVhsv(246, 23%, 69%)
CMYKcmyk(21%, 23.3%, 0%, 31%)
CIE-LABlab(57.99, 10.35, -21.01)
CIE-LCHlch(57.99, 23.42, 296.23°)
OKLaboklab(64.18% 0.0199 -0.0576)
OKLCHoklch(64.18% 0.061 289)
XYZxyz(27.1461, 25.9511, 44.6448)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87B0 #ACB087
analogous
#8797B0 #8B87B0 #9F87B0
triadic
#8B87B0 #B08B87 #87B08B
tetradic
#8B87B0 #B08797 #ACB087 #87B09F
square
#8B87B0 #B08797 #ACB087 #87B09F
split-complementary
#8B87B0 #B09F87 #97B087
monochromatic
#4F4B72 #686397 #8B87B0 #AFACC8 #D2D1E1

Accessibility & contrast

On white

3.39
#8B87B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#8B87B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B87B0
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B87B0#FFFFFF#000000##000000
##8B87B01.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8CB2
Deuteranopia (green-blind)
#7D8AAF
Tritanopia (blue-blind)
#838E95
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8b87b0;
/* rgb */ color: rgb(139, 135, 176);
/* oklch */ color: oklch(64.2% 0.061 289.0);
Tailwind
colors: {
  custom: {
    50: '#adaac7',
    500: '#8b87b0',
    950: '#000000',
  },
}
SCSS
$custom: #8b87b0;
$custom-light: #adaac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87b0",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 176
  },
  "hsl": {
    "h": 245.854,
    "s": 20.603,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64175,
    "c": 0.06094,
    "h": 289
  },
  "luminance": 0.25952
}

Semantic roles & 50–950 ramp

primary
#8B87B0
secondary
#D0D1C2
accent
#9F4796
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8B87B0

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

Preview Lab → · Contrast checker → · Palette generator →

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