#8E87F6#8E87F6

#8E87F6 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.9% C 0.160 H 284.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8E87F6
RGBrgb(142, 135, 246)
HSLhsl(244, 86%, 75%)
HSVhsv(244, 45%, 96%)
CMYKcmyk(42.3%, 45.1%, 0%, 3.5%)
CIE-LABlab(61.42, 29.55, -54.90)
CIE-LCHlch(61.42, 62.34, 298.29°)
OKLaboklab(67.91% 0.0391 -0.1554)
OKLCHoklch(67.91% 0.16 284.1)
XYZxyz(36.4490, 29.7311, 90.9891)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E87F6 #EFF687
analogous
#87B7F6 #8E87F6 #C687F6
triadic
#8E87F6 #F68E87 #87F68E
tetradic
#8E87F6 #F687B7 #EFF687 #87F6C6
square
#8E87F6 #F687B7 #EFF687 #87F6C6
split-complementary
#8E87F6 #F6C687 #B7F687
monochromatic
#2315ED #584EF2 #8E87F6 #C4C0FA #E4E3FD

Accessibility & contrast

On white

3.02
#8E87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#8E87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E87F6
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E87F6#FFFFFF#000000##000000
##8E87F61.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#6E9EB3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8e87f6;
/* rgb */ color: rgb(142, 135, 246);
/* oklch */ color: oklch(67.9% 0.160 284.1);
Tailwind
colors: {
  custom: {
    50: '#b4aafa',
    500: '#8e87f6',
    950: '#000000',
  },
}
SCSS
$custom: #8e87f6;
$custom-light: #b4aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e87f6",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 243.784,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67906,
    "c": 0.16022,
    "h": 284.1
  },
  "luminance": 0.29733
}

Semantic roles & 50–950 ramp

primary
#8E87F6
secondary
#F3F5D6
accent
#E303D4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8E87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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