#8E87F9#8E87F9

#8E87F9 is a light, vivid blue. Relative luminance 0.299; OKLCH L 68.1% C 0.164 H 283.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8E87F9
RGBrgb(142, 135, 249)
HSLhsl(244, 90%, 75%)
HSVhsv(244, 46%, 98%)
CMYKcmyk(43%, 45.8%, 0%, 2.4%)
CIE-LABlab(61.58, 30.39, -56.29)
CIE-LCHlch(61.58, 63.97, 298.36°)
OKLaboklab(68.08% 0.0395 -0.1594)
OKLCHoklch(68.08% 0.164 283.9)
XYZxyz(36.9132, 29.9167, 93.4337)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E87F9 #F2F987
analogous
#87B9F9 #8E87F9 #C787F9
triadic
#8E87F9 #F98E87 #87F98E
tetradic
#8E87F9 #F987B9 #F2F987 #87F9C7
square
#8E87F9 #F987B9 #F2F987 #87F9C7
split-complementary
#8E87F9 #F9C787 #B9F987
monochromatic
#2012F3 #574DF6 #8E87F9 #C5C1FC #E4E2FE

Accessibility & contrast

On white

3.01
#8E87F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8E87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E87F9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E87F9#FFFFFF#000000##000000
##8E87F91.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FD
Deuteranopia (green-blind)
#5591F6
Tritanopia (blue-blind)
#6D9EB4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8e87f9;
/* rgb */ color: rgb(142, 135, 249);
/* oklch */ color: oklch(68.1% 0.164 283.9);
Tailwind
colors: {
  custom: {
    50: '#b4aafc',
    500: '#8e87f9',
    950: '#000000',
  },
}
SCSS
$custom: #8e87f9;
$custom-light: #b4aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e87f9",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 243.684,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.6808,
    "c": 0.16427,
    "h": 283.9
  },
  "luminance": 0.29918
}

Semantic roles & 50–950 ramp

primary
#8E87F9
secondary
#F4F6D5
accent
#E600D7
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8E87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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