#8987EB#8987EB

#8987EB is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.9% C 0.146 H 282.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8987EB
RGBrgb(137, 135, 235)
HSLhsl(241, 71%, 73%)
HSVhsv(241, 43%, 92%)
CMYKcmyk(41.7%, 42.6%, 0%, 7.8%)
CIE-LABlab(60.47, 25.24, -50.36)
CIE-LCHlch(60.47, 56.33, 296.62°)
OKLaboklab(66.9% 0.0319 -0.1422)
OKLCHoklch(66.9% 0.146 282.6)
XYZxyz(33.9715, 28.6431, 82.3199)
Luminance0.2864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8987EB #E9EB87
analogous
#87B7EB #8987EB #BB87EB
triadic
#8987EB #EB8987 #87EB89
tetradic
#8987EB #EB87B7 #E9EB87 #87EBBB
square
#8987EB #EB87B7 #E9EB87 #87EBBB
split-complementary
#8987EB #EBBB87 #B7EB87
monochromatic
#2723D4 #5553E2 #8987EB #BDBBF4 #E5E5FB

Accessibility & contrast

On white

3.12
#8987EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#8987EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8987EB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8987EB#FFFFFF#000000##000000
##8987EB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#5E8EE9
Tritanopia (blue-blind)
#6B9BAE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8987eb;
/* rgb */ color: rgb(137, 135, 235);
/* oklch */ color: oklch(66.9% 0.146 282.6);
Tailwind
colors: {
  custom: {
    50: '#b0aaf2',
    500: '#8987eb',
    950: '#000000',
  },
}
SCSS
$custom: #8987eb;
$custom-light: #b0aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8987eb",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 241.2,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66899,
    "c": 0.14574,
    "h": 282.6
  },
  "luminance": 0.28644
}

Semantic roles & 50–950 ramp

primary
#8987EB
secondary
#F2F2D9
accent
#D312D0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8987EB

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

Preview Lab → · Contrast checker → · Palette generator →

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