#8878EA#8878EA

#8878EA is a light, vivid blue. Relative luminance 0.246; OKLCH L 64.0% C 0.166 H 287.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#8878EA
RGBrgb(136, 120, 234)
HSLhsl(248, 73%, 69%)
HSVhsv(248, 49%, 92%)
CMYKcmyk(41.9%, 48.7%, 0%, 8.2%)
CIE-LABlab(56.69, 33.49, -55.82)
CIE-LCHlch(56.69, 65.10, 300.96°)
OKLaboklab(64.01% 0.049 -0.1583)
OKLCHoklch(64.01% 0.166 287.2)
XYZxyz(31.7169, 24.6065, 80.9043)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8878EA #DAEA78
analogous
#78A1EA #8878EA #C178EA
triadic
#8878EA #EA8878 #78EA88
tetradic
#8878EA #EA78A1 #DAEA78 #78EAC1
square
#8878EA #EA78A1 #DAEA78 #78EAC1
split-complementary
#8878EA #EAC178 #A1EA78
monochromatic
#371FC8 #5943E2 #8878EA #B7ADF2 #E5E2FA

Accessibility & contrast

On white

3.55
#8878EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#8878EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8878EA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8878EA#FFFFFF#000000##000000
##8878EA1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#4885E7
Tritanopia (blue-blind)
#6B90A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8878ea;
/* rgb */ color: rgb(136, 120, 234);
/* oklch */ color: oklch(64.0% 0.166 287.2);
Tailwind
colors: {
  custom: {
    50: '#af9ff1',
    500: '#8878ea',
    950: '#000000',
  },
}
SCSS
$custom: #8878ea;
$custom-light: #af9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8878ea",
  "rgb": {
    "r": 136,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 248.421,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6401,
    "c": 0.16568,
    "h": 287.2
  },
  "luminance": 0.24608
}

Semantic roles & 50–950 ramp

primary
#8878EA
secondary
#EBEFCE
accent
#D510BA
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8878EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8878EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva