#8987EA#8987EA

#8987EA is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.8% C 0.144 H 282.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8987EA
RGBrgb(137, 135, 234)
HSLhsl(241, 70%, 72%)
HSVhsv(241, 42%, 92%)
CMYKcmyk(41.5%, 42.3%, 0%, 8.2%)
CIE-LABlab(60.41, 24.96, -49.89)
CIE-LCHlch(60.41, 55.79, 296.58°)
OKLaboklab(66.84% 0.0317 -0.1408)
OKLCHoklch(66.84% 0.144 282.7)
XYZxyz(33.8275, 28.5854, 81.5611)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8987EA #E8EA87
analogous
#87B7EA #8987EA #BA87EA
triadic
#8987EA #EA8987 #87EA89
tetradic
#8987EA #EA87B7 #E8EA87 #87EABA
square
#8987EA #EA87B7 #E8EA87 #87EABA
split-complementary
#8987EA #EABA87 #B7EA87
monochromatic
#2825D2 #5653E1 #8987EA #BCBBF3 #E5E5FA

Accessibility & contrast

On white

3.13
#8987EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#8987EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8987EA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8987EA#FFFFFF#000000##000000
##8987EA1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#6B9BAD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8987ea;
/* rgb */ color: rgb(137, 135, 234);
/* oklch */ color: oklch(66.8% 0.144 282.7);
Tailwind
colors: {
  custom: {
    50: '#afaaf1',
    500: '#8987ea',
    950: '#000000',
  },
}
SCSS
$custom: #8987ea;
$custom-light: #afaaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8987ea",
  "rgb": {
    "r": 137,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 241.212,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66844,
    "c": 0.14435,
    "h": 282.7
  },
  "luminance": 0.28587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8987EA

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

Preview Lab → · Contrast checker → · Palette generator →

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