#878CED#878CED

#878CED is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.8% C 0.142 H 279.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#878CED
RGBrgb(135, 140, 237)
HSLhsl(237, 74%, 73%)
HSVhsv(237, 43%, 93%)
CMYKcmyk(43%, 40.9%, 0%, 7.1%)
CIE-LABlab(61.67, 22.40, -49.57)
CIE-LCHlch(61.67, 54.39, 294.32°)
OKLaboklab(67.81% 0.0238 -0.1399)
OKLCHoklch(67.81% 0.142 279.7)
XYZxyz(34.6513, 30.0199, 84.0730)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878CED #EDE887
analogous
#87BFED #878CED #B587ED
triadic
#878CED #ED878C #8CED87
tetradic
#878CED #ED87BF #EDE887 #87EDB5
square
#878CED #ED87BF #EDE887 #87EDB5
split-complementary
#878CED #EDB587 #BFED87
monochromatic
#212AD9 #5259E5 #878CED #BCBFF5 #E4E5FB

Accessibility & contrast

On white

3.00
#878CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#878CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #878CED
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878CED#FFFFFF#000000##000000
##878CED1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#6291EB
Tritanopia (blue-blind)
#66A0B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #878ced;
/* rgb */ color: rgb(135, 140, 237);
/* oklch */ color: oklch(67.8% 0.142 279.7);
Tailwind
colors: {
  custom: {
    50: '#aeadf3',
    500: '#878ced',
    950: '#000000',
  },
}
SCSS
$custom: #878ced;
$custom-light: #aeadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#878ced",
  "rgb": {
    "r": 135,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 237.059,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67814,
    "c": 0.14193,
    "h": 279.7
  },
  "luminance": 0.30021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #878CED

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

Preview Lab → · Contrast checker → · Palette generator →

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