#8987BF#8987BF

#8987BF is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.7% C 0.083 H 285.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8987BF
RGBrgb(137, 135, 191)
HSLhsl(242, 30%, 64%)
HSVhsv(242, 29%, 75%)
CMYKcmyk(28.3%, 29.3%, 0%, 25.1%)
CIE-LABlab(58.42, 13.42, -28.90)
CIE-LCHlch(58.42, 31.86, 294.90°)
OKLaboklab(64.66% 0.0221 -0.08)
OKLCHoklch(64.66% 0.083 285.5)
XYZxyz(28.3820, 26.4073, 52.8819)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8987BF #BDBF87
analogous
#87A1BF #8987BF #A587BF
triadic
#8987BF #BF8987 #87BF89
tetradic
#8987BF #BF87A1 #BDBF87 #87BFA5
square
#8987BF #BF87A1 #BDBF87 #87BFA5
split-complementary
#8987BF #BFA587 #A1BF87
monochromatic
#494785 #625FAA #8987BF #B0AFD4 #D7D7EA

Accessibility & contrast

On white

3.34
#8987BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#8987BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8987BF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8987BF#FFFFFF#000000##000000
##8987BF1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EC1
Deuteranopia (green-blind)
#768BBE
Tritanopia (blue-blind)
#7C919B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8987bf;
/* rgb */ color: rgb(137, 135, 191);
/* oklch */ color: oklch(64.7% 0.083 285.5);
Tailwind
colors: {
  custom: {
    50: '#aca9d2',
    500: '#8987bf',
    950: '#000000',
  },
}
SCSS
$custom: #8987bf;
$custom-light: #aca9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8987bf",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 242.143,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64664,
    "c": 0.08305,
    "h": 285.5
  },
  "luminance": 0.26408
}

Semantic roles & 50–950 ramp

primary
#8987BF
secondary
#DADBC7
accent
#A93CA5
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8987BF

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

Preview Lab → · Contrast checker → · Palette generator →

#8987BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva