#878CD4#878CD4

#878CD4 is a light, moderate blue. Relative luminance 0.287; OKLCH L 66.5% C 0.107 H 280.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#878CD4
RGBrgb(135, 140, 212)
HSLhsl(236, 47%, 68%)
HSVhsv(236, 36%, 83%)
CMYKcmyk(36.3%, 34%, 0%, 16.9%)
CIE-LABlab(60.48, 15.44, -37.54)
CIE-LCHlch(60.48, 40.59, 292.36°)
OKLaboklab(66.51% 0.0186 -0.1049)
OKLCHoklch(66.51% 0.107 280)
XYZxyz(31.2500, 28.6594, 66.1599)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878CD4 #D4CF87
analogous
#87B2D4 #878CD4 #A887D4
triadic
#878CD4 #D4878C #8CD487
tetradic
#878CD4 #D487B2 #D4CF87 #87D4A8
square
#878CD4 #D487B2 #D4CF87 #87D4A8
split-complementary
#878CD4 #D4A887 #B2D487
monochromatic
#3B42A5 #5A61C4 #878CD4 #B4B7E4 #E1E2F4

Accessibility & contrast

On white

3.12
#878CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#878CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878CD4
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878CD4#FFFFFF#000000##000000
##878CD41.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7595D7
Deuteranopia (green-blind)
#718FD2
Tritanopia (blue-blind)
#719AA6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #878cd4;
/* rgb */ color: rgb(135, 140, 212);
/* oklch */ color: oklch(66.5% 0.107 280.0);
Tailwind
colors: {
  custom: {
    50: '#acade1',
    500: '#878cd4',
    950: '#000000',
  },
}
SCSS
$custom: #878cd4;
$custom-light: #acade1;
$custom-dark: #000000;
JSON
{
  "hex": "#878cd4",
  "rgb": {
    "r": 135,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 236.104,
    "s": 47.239,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.10657,
    "h": 280
  },
  "luminance": 0.28661
}

Semantic roles & 50–950 ramp

primary
#878CD4
secondary
#E7E6D0
accent
#B12BBA
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #878CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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