#8987EE#8987EE

#8987EE is a light, vivid blue. Relative luminance 0.288; OKLCH L 67.1% C 0.150 H 282.5°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8987EE
RGBrgb(137, 135, 238)
HSLhsl(241, 75%, 73%)
HSVhsv(241, 43%, 93%)
CMYKcmyk(42.4%, 43.3%, 0%, 6.7%)
CIE-LABlab(60.62, 26.09, -51.78)
CIE-LCHlch(60.62, 57.98, 296.74°)
OKLaboklab(67.07% 0.0323 -0.1463)
OKLCHoklch(67.07% 0.15 282.5)
XYZxyz(34.4086, 28.8179, 84.6217)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8987EE #ECEE87
analogous
#87B8EE #8987EE #BC87EE
triadic
#8987EE #EE8987 #87EE89
tetradic
#8987EE #EE87B8 #ECEE87 #87EEBC
square
#8987EE #EE87B8 #ECEE87 #87EEBC
split-complementary
#8987EE #EEBC87 #B8EE87
monochromatic
#231FDC #5451E6 #8987EE #BEBDF6 #E5E4FB

Accessibility & contrast

On white

3.10
#8987EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#8987EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8987EE
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8987EE#FFFFFF#000000##000000
##8987EE1.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#5B8FEC
Tritanopia (blue-blind)
#699CAF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8987ee;
/* rgb */ color: rgb(137, 135, 238);
/* oklch */ color: oklch(67.1% 0.150 282.5);
Tailwind
colors: {
  custom: {
    50: '#b0aaf4',
    500: '#8987ee',
    950: '#000000',
  },
}
SCSS
$custom: #8987ee;
$custom-light: #b0aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8987ee",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 241.165,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67068,
    "c": 0.14988,
    "h": 282.5
  },
  "luminance": 0.28819
}

Semantic roles & 50–950 ramp

primary
#8987EE
secondary
#F2F3D8
accent
#D70ED3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8987EE

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

Preview Lab → · Contrast checker → · Palette generator →

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