#8D87EE#8D87EE

#8D87EE is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.4% C 0.149 H 284.3°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8D87EE
RGBrgb(141, 135, 238)
HSLhsl(243, 75%, 73%)
HSVhsv(243, 43%, 93%)
CMYKcmyk(40.8%, 43.3%, 0%, 6.7%)
CIE-LABlab(60.92, 27.07, -51.28)
CIE-LCHlch(60.92, 57.98, 297.83°)
OKLaboklab(67.37% 0.0369 -0.1448)
OKLCHoklch(67.37% 0.149 284.3)
XYZxyz(35.0767, 29.1624, 84.6531)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87EE #E8EE87
analogous
#87B4EE #8D87EE #C087EE
triadic
#8D87EE #EE8D87 #87EE8D
tetradic
#8D87EE #EE87B4 #E8EE87 #87EEC0
square
#8D87EE #EE87B4 #E8EE87 #87EEC0
split-complementary
#8D87EE #EEC087 #B4EE87
monochromatic
#2A1FDC #5A51E6 #8D87EE #C0BDF6 #E6E4FB

Accessibility & contrast

On white

3.07
#8D87EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#8D87EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87EE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87EE#FFFFFF#000000##000000
##8D87EE1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F2
Deuteranopia (green-blind)
#5E90EC
Tritanopia (blue-blind)
#709CAF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d87ee;
/* rgb */ color: rgb(141, 135, 238);
/* oklch */ color: oklch(67.4% 0.149 284.3);
Tailwind
colors: {
  custom: {
    50: '#b2aaf4',
    500: '#8d87ee',
    950: '#000000',
  },
}
SCSS
$custom: #8d87ee;
$custom-light: #b2aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87ee",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 243.495,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67374,
    "c": 0.14941,
    "h": 284.3
  },
  "luminance": 0.29164
}

Semantic roles & 50–950 ramp

primary
#8D87EE
secondary
#F1F3D8
accent
#D70ECC
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8D87EE

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

Preview Lab → · Contrast checker → · Palette generator →

#8D87EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva