#877EA0#877EA0

#877EA0 is a mid, muted violet. Relative luminance 0.226; OKLCH L 61.3% C 0.052 H 297.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#877EA0
RGBrgb(135, 126, 160)
HSLhsl(256, 15%, 56%)
HSVhsv(256, 21%, 63%)
CMYKcmyk(15.6%, 21.2%, 0%, 37.3%)
CIE-LABlab(54.67, 10.53, -16.91)
CIE-LCHlch(54.67, 19.92, 301.89°)
OKLaboklab(61.32% 0.0235 -0.0461)
OKLCHoklch(61.32% 0.052 297)
XYZxyz(23.7964, 22.6106, 36.3615)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EA0 #97A07E
analogous
#7E86A0 #877EA0 #987EA0
triadic
#877EA0 #A0877E #7EA087
tetradic
#877EA0 #A07E86 #97A07E #7EA098
square
#877EA0 #A07E86 #97A07E #7EA098
split-complementary
#877EA0 #A0987E #86A07E
monochromatic
#4C455E #685F81 #877EA0 #A8A1BA #C9C4D4

Accessibility & contrast

On white

3.80
#877EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#877EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EA0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EA0#FFFFFF#000000##000000
##877EA01.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7783A1
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#83838A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877ea0;
/* rgb */ color: rgb(135, 126, 160);
/* oklch */ color: oklch(61.3% 0.052 297.0);
Tailwind
colors: {
  custom: {
    50: '#aaa3bc',
    500: '#877ea0',
    950: '#000000',
  },
}
SCSS
$custom: #877ea0;
$custom-light: #aaa3bc;
$custom-dark: #000000;
JSON
{
  "hex": "#877ea0",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 160
  },
  "hsl": {
    "h": 255.882,
    "s": 15.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61321,
    "c": 0.05172,
    "h": 297
  },
  "luminance": 0.22611
}

Semantic roles & 50–950 ramp

primary
#877EA0
secondary
#C0C4B6
accent
#B870A5
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877EA0

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

Preview Lab → · Contrast checker → · Palette generator →

#877EA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva