#878ECE#878ECE

#878ECE is a light, moderate blue. Relative luminance 0.290; OKLCH L 66.6% C 0.095 H 278.7°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#878ECE
RGBrgb(135, 142, 206)
HSLhsl(234, 42%, 67%)
HSVhsv(234, 34%, 81%)
CMYKcmyk(34.5%, 31.1%, 0%, 19.2%)
CIE-LABlab(60.74, 12.67, -33.77)
CIE-LCHlch(60.74, 36.07, 290.56°)
OKLaboklab(66.62% 0.0144 -0.0941)
OKLCHoklch(66.62% 0.095 278.7)
XYZxyz(30.8021, 28.9521, 62.3459)
Luminance0.2895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878ECE #CEC787
analogous
#87B2CE #878ECE #A487CE
triadic
#878ECE #CE878E #8ECE87
tetradic
#878ECE #CE87B2 #CEC787 #87CEA4
square
#878ECE #CE87B2 #CEC787 #87CEA4
split-complementary
#878ECE #CEA487 #B2CE87
monochromatic
#3F489B #5C65BC #878ECE #B2B7E0 #DEE0F1

Accessibility & contrast

On white

3.09
#878ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#878ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878ECE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878ECE#FFFFFF#000000##000000
##878ECE1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D1
Deuteranopia (green-blind)
#7690CC
Tritanopia (blue-blind)
#749AA5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #878ece;
/* rgb */ color: rgb(135, 142, 206);
/* oklch */ color: oklch(66.6% 0.095 278.7);
Tailwind
colors: {
  custom: {
    50: '#acafdd',
    500: '#878ece',
    950: '#000000',
  },
}
SCSS
$custom: #878ece;
$custom-light: #acafdd;
$custom-dark: #000000;
JSON
{
  "hex": "#878ece",
  "rgb": {
    "r": 135,
    "g": 142,
    "b": 206
  },
  "hsl": {
    "h": 234.085,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66624,
    "c": 0.09516,
    "h": 278.7
  },
  "luminance": 0.28953
}

Semantic roles & 50–950 ramp

primary
#878ECE
secondary
#E4E2CD
accent
#A830B5
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #878ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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