#8E87EF#8E87EF

#8E87EF is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.5% C 0.151 H 284.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8E87EF
RGBrgb(142, 135, 239)
HSLhsl(244, 76%, 73%)
HSVhsv(244, 44%, 94%)
CMYKcmyk(40.6%, 43.5%, 0%, 6.3%)
CIE-LABlab(61.05, 27.60, -51.62)
CIE-LCHlch(61.05, 58.53, 298.13°)
OKLaboklab(67.51% 0.0381 -0.1458)
OKLCHoklch(67.51% 0.151 284.7)
XYZxyz(35.3948, 29.3094, 85.4370)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E87EF #E8EF87
analogous
#87B4EF #8E87EF #C287EF
triadic
#8E87EF #EF8E87 #87EF8E
tetradic
#8E87EF #EF87B4 #E8EF87 #87EFC2
square
#8E87EF #EF87B4 #E8EF87 #87EFC2
split-complementary
#8E87EF #EFC287 #B4EF87
monochromatic
#2B1EDE #5B51E8 #8E87EF #C1BDF6 #E6E4FB

Accessibility & contrast

On white

3.06
#8E87EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8E87EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E87EF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E87EF#FFFFFF#000000##000000
##8E87EF1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#5E90ED
Tritanopia (blue-blind)
#729CAF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8e87ef;
/* rgb */ color: rgb(142, 135, 239);
/* oklch */ color: oklch(67.5% 0.151 284.7);
Tailwind
colors: {
  custom: {
    50: '#b3aaf5',
    500: '#8e87ef',
    950: '#000000',
  },
}
SCSS
$custom: #8e87ef;
$custom-light: #b3aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e87ef",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 244.038,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67508,
    "c": 0.15068,
    "h": 284.7
  },
  "luminance": 0.29311
}

Semantic roles & 50–950 ramp

primary
#8E87EF
secondary
#F1F3D8
accent
#D90DCB
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8E87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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