#878EEE#878EEE

#878EEE is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.141 H 278.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#878EEE
RGBrgb(135, 142, 238)
HSLhsl(236, 75%, 73%)
HSVhsv(236, 43%, 93%)
CMYKcmyk(43.3%, 40.3%, 0%, 6.7%)
CIE-LABlab(62.23, 21.51, -49.24)
CIE-LCHlch(62.23, 53.74, 293.60°)
OKLaboklab(68.26% 0.0215 -0.1389)
OKLCHoklch(68.26% 0.141 278.8)
XYZxyz(35.0927, 30.6683, 84.9428)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878EEE #EEE787
analogous
#87C1EE #878EEE #B387EE
triadic
#878EEE #EE878E #8EEE87
tetradic
#878EEE #EE87C1 #EEE787 #87EEB3
square
#878EEE #EE87C1 #EEE787 #87EEB3
split-complementary
#878EEE #EEB387 #C1EE87
monochromatic
#1F2CDC #515CE6 #878EEE #BDC0F6 #E4E6FB

Accessibility & contrast

On white

2.94
#878EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#878EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #878EEE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878EEE#FFFFFF#000000##000000
##878EEE1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9AF2
Deuteranopia (green-blind)
#6493EC
Tritanopia (blue-blind)
#65A2B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #878eee;
/* rgb */ color: rgb(135, 142, 238);
/* oklch */ color: oklch(68.3% 0.141 278.8);
Tailwind
colors: {
  custom: {
    50: '#aeaef4',
    500: '#878eee',
    950: '#000000',
  },
}
SCSS
$custom: #878eee;
$custom-light: #aeaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#878eee",
  "rgb": {
    "r": 135,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 235.922,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68255,
    "c": 0.14061,
    "h": 278.8
  },
  "luminance": 0.3067
}

Semantic roles & 50–950 ramp

primary
#878EEE
secondary
#F3F1D8
accent
#CA0ED7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #878EEE

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

Preview Lab → · Contrast checker → · Palette generator →

#878EEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva