#8787EA#8787EA

#8787EA is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.7% C 0.145 H 281.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8787EA
RGBrgb(135, 135, 234)
HSLhsl(240, 70%, 72%)
HSVhsv(240, 42%, 92%)
CMYKcmyk(42.3%, 42.3%, 0%, 8.2%)
CIE-LABlab(60.26, 24.47, -50.14)
CIE-LCHlch(60.26, 55.79, 296.02°)
OKLaboklab(66.69% 0.0295 -0.1416)
OKLCHoklch(66.69% 0.145 281.7)
XYZxyz(33.5026, 28.4179, 81.5459)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8787EA #EAEA87
analogous
#87B9EA #8787EA #B987EA
triadic
#8787EA #EA8787 #87EA87
tetradic
#8787EA #EA87B9 #EAEA87 #87EAB9
square
#8787EA #EA87B9 #EAEA87 #87EAB9
split-complementary
#8787EA #EAB987 #B9EA87
monochromatic
#2525D2 #5353E1 #8787EA #BBBBF3 #E5E5FA

Accessibility & contrast

On white

3.14
#8787EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#8787EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8787EA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8787EA#FFFFFF#000000##000000
##8787EA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#689BAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8787ea;
/* rgb */ color: rgb(135, 135, 234);
/* oklch */ color: oklch(66.7% 0.145 281.7);
Tailwind
colors: {
  custom: {
    50: '#aea9f1',
    500: '#8787ea',
    950: '#000000',
  },
}
SCSS
$custom: #8787ea;
$custom-light: #aea9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8787ea",
  "rgb": {
    "r": 135,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66692,
    "c": 0.14463,
    "h": 281.7
  },
  "luminance": 0.28419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8787EA

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

Preview Lab → · Contrast checker → · Palette generator →

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