#878FB2#878FB2

#878FB2 is a light, muted blue. Relative luminance 0.280; OKLCH L 65.6% C 0.053 H 274.8°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#878FB2
RGBrgb(135, 143, 178)
HSLhsl(229, 22%, 61%)
HSVhsv(229, 24%, 70%)
CMYKcmyk(24.2%, 19.7%, 0%, 30.2%)
CIE-LABlab(59.90, 4.95, -19.27)
CIE-LCHlch(59.90, 19.89, 284.40°)
OKLaboklab(65.61% 0.0044 -0.0528)
OKLCHoklch(65.61% 0.053 274.8)
XYZxyz(27.8479, 28.0095, 46.0500)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878FB2 #B2AA87
analogous
#87A5B2 #878FB2 #9587B2
triadic
#878FB2 #B2878F #8FB287
tetradic
#878FB2 #B287A5 #B2AA87 #87B295
square
#878FB2 #B287A5 #B2AA87 #87B295
split-complementary
#878FB2 #B29587 #A5B287
monochromatic
#4A5274 #626D99 #878FB2 #ACB2CA #D2D5E2

Accessibility & contrast

On white

3.18
#878FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#878FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878FB2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878FB2#FFFFFF#000000##000000
##878FB21.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8592B4
Deuteranopia (green-blind)
#828FB1
Tritanopia (blue-blind)
#7D959B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #878fb2;
/* rgb */ color: rgb(135, 143, 178);
/* oklch */ color: oklch(65.6% 0.053 274.8);
Tailwind
colors: {
  custom: {
    50: '#aaafc9',
    500: '#878fb2',
    950: '#000000',
  },
}
SCSS
$custom: #878fb2;
$custom-light: #aaafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#878fb2",
  "rgb": {
    "r": 135,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 228.837,
    "s": 21.827,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65605,
    "c": 0.05299,
    "h": 274.8
  },
  "luminance": 0.2801
}

Semantic roles & 50–950 ramp

primary
#878FB2
secondary
#D2CFC2
accent
#8F45A0
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101013
muted
#7F7F82

Preview Lab

Preview with #878FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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