#878DEB#878DEB

#878DEB is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.9% C 0.138 H 279.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#878DEB
RGBrgb(135, 141, 235)
HSLhsl(236, 71%, 73%)
HSVhsv(236, 43%, 92%)
CMYKcmyk(42.6%, 40%, 0%, 7.8%)
CIE-LABlab(61.82, 21.25, -48.22)
CIE-LCHlch(61.82, 52.69, 293.78°)
OKLaboklab(67.9% 0.0222 -0.136)
OKLCHoklch(67.9% 0.138 279.3)
XYZxyz(34.5075, 30.1972, 82.5916)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878DEB #EBE587
analogous
#87BFEB #878DEB #B387EB
triadic
#878DEB #EB878D #8DEB87
tetradic
#878DEB #EB87BF #EBE587 #87EBB3
square
#878DEB #EB87BF #EBE587 #87EBB3
split-complementary
#878DEB #EBB387 #BFEB87
monochromatic
#232ED4 #535BE2 #878DEB #BBBFF4 #E5E6FB

Accessibility & contrast

On white

2.98
#878DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#878DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #878DEB
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878DEB#FFFFFF#000000##000000
##878DEB1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#67A0B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #878deb;
/* rgb */ color: rgb(135, 141, 235);
/* oklch */ color: oklch(67.9% 0.138 279.3);
Tailwind
colors: {
  custom: {
    50: '#aeaef2',
    500: '#878deb',
    950: '#000000',
  },
}
SCSS
$custom: #878deb;
$custom-light: #aeaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#878deb",
  "rgb": {
    "r": 135,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 236.4,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67898,
    "c": 0.13778,
    "h": 279.3
  },
  "luminance": 0.30199
}

Semantic roles & 50–950 ramp

primary
#878DEB
secondary
#F2F1D9
accent
#C812D3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #878DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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