#8E87FD#8E87FD

#8E87FD is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.3% C 0.170 H 283.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8E87FD
RGBrgb(142, 135, 253)
HSLhsl(244, 97%, 76%)
HSVhsv(244, 47%, 99%)
CMYKcmyk(43.9%, 46.6%, 0%, 0.8%)
CIE-LABlab(61.80, 31.52, -58.14)
CIE-LCHlch(61.80, 66.14, 298.46°)
OKLaboklab(68.32% 0.04 -0.1649)
OKLCHoklch(68.32% 0.17 283.6)
XYZxyz(37.5437, 30.1689, 96.7544)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E87FD #F6FD87
analogous
#87BBFD #8E87FD #C987FD
triadic
#8E87FD #FD8E87 #87FD8E
tetradic
#8E87FD #FD87BB #F6FD87 #87FDC9
square
#8E87FD #FD87BB #F6FD87 #87FDC9
split-complementary
#8E87FD #FDC987 #BBFD87
monochromatic
#1D0FFB #554BFC #8E87FD #C7C3FE #E3E1FE

Accessibility & contrast

On white

2.99
#8E87FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8E87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E87FD
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E87FD#FFFFFF#000000##000000
##8E87FD1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#5291FA
Tritanopia (blue-blind)
#6AA0B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8e87fd;
/* rgb */ color: rgb(142, 135, 253);
/* oklch */ color: oklch(68.3% 0.170 283.6);
Tailwind
colors: {
  custom: {
    50: '#b4aaff',
    500: '#8e87fd',
    950: '#000000',
  },
}
SCSS
$custom: #8e87fd;
$custom-light: #b4aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#8e87fd",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 243.559,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.68315,
    "c": 0.16966,
    "h": 283.6
  },
  "luminance": 0.30171
}

Semantic roles & 50–950 ramp

primary
#8E87FD
secondary
#F5F7D4
accent
#E600D8
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #8E87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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