#878AAA#878AAA

#878AAA is a light, muted blue. Relative luminance 0.262; OKLCH L 64.2% C 0.048 H 280.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#878AAA
RGBrgb(135, 138, 170)
HSLhsl(235, 17%, 60%)
HSVhsv(235, 21%, 67%)
CMYKcmyk(20.6%, 18.8%, 0%, 33.3%)
CIE-LABlab(58.25, 5.90, -17.21)
CIE-LCHlch(58.25, 18.20, 288.91°)
OKLaboklab(64.23% 0.0089 -0.047)
OKLCHoklch(64.23% 0.048 280.8)
XYZxyz(26.3341, 26.2297, 41.6978)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878AAA #AAA787
analogous
#879CAA #878AAA #9687AA
triadic
#878AAA #AA878A #8AAA87
tetradic
#878AAA #AA879C #AAA787 #87AA96
square
#878AAA #AA879C #AAA787 #87AA96
split-complementary
#878AAA #AA9687 #9CAA87
monochromatic
#4C4E6B #65698F #878AAA #ABADC3 #CFD0DD

Accessibility & contrast

On white

3.36
#878AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#878AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878AAA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878AAA#FFFFFF#000000##000000
##878AAA1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#828DAB
Deuteranopia (green-blind)
#808BA9
Tritanopia (blue-blind)
#7F9095
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #878aaa;
/* rgb */ color: rgb(135, 138, 170);
/* oklch */ color: oklch(64.2% 0.048 280.8);
Tailwind
colors: {
  custom: {
    50: '#aaacc3',
    500: '#878aaa',
    950: '#000000',
  },
}
SCSS
$custom: #878aaa;
$custom-light: #aaacc3;
$custom-dark: #000000;
JSON
{
  "hex": "#878aaa",
  "rgb": {
    "r": 135,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 234.857,
    "s": 17.073,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64228,
    "c": 0.04785,
    "h": 280.8
  },
  "luminance": 0.2623
}

Semantic roles & 50–950 ramp

primary
#878AAA
secondary
#CDCCC0
accent
#B36EBA
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101012
muted
#7F7F81

Preview Lab

Preview with #878AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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