#878CE8#878CE8

#878CE8 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.5% C 0.135 H 279.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#878CE8
RGBrgb(135, 140, 232)
HSLhsl(237, 68%, 72%)
HSVhsv(237, 42%, 91%)
CMYKcmyk(41.8%, 39.7%, 0%, 9%)
CIE-LABlab(61.42, 20.98, -47.19)
CIE-LCHlch(61.42, 51.65, 293.97°)
OKLaboklab(67.54% 0.0229 -0.133)
OKLCHoklch(67.54% 0.135 279.8)
XYZxyz(33.9309, 29.7318, 80.2792)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878CE8 #E8E387
analogous
#87BDE8 #878CE8 #B387E8
triadic
#878CE8 #E8878C #8CE887
tetradic
#878CE8 #E887BD #E8E387 #87E8B3
square
#878CE8 #E887BD #E8E387 #87E8B3
split-complementary
#878CE8 #E8B387 #BDE887
monochromatic
#2730CD #545BDE #878CE8 #BABDF2 #E5E6FA

Accessibility & contrast

On white

3.02
#878CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#878CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878CE8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878CE8#FFFFFF#000000##000000
##878CE81.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)
#6B98EC
Deuteranopia (green-blind)
#6591E6
Tritanopia (blue-blind)
#689EAF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #878ce8;
/* rgb */ color: rgb(135, 140, 232);
/* oklch */ color: oklch(67.5% 0.135 279.8);
Tailwind
colors: {
  custom: {
    50: '#aeadf0',
    500: '#878ce8',
    950: '#000000',
  },
}
SCSS
$custom: #878ce8;
$custom-light: #aeadf0;
$custom-dark: #000000;
JSON
{
  "hex": "#878ce8",
  "rgb": {
    "r": 135,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 236.907,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67543,
    "c": 0.13495,
    "h": 279.8
  },
  "luminance": 0.29733
}

Semantic roles & 50–950 ramp

primary
#878CE8
secondary
#F2F0D9
accent
#C616D0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #878CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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