#877EA5#877EA5

#877EA5 is a mid, muted violet. Relative luminance 0.228; OKLCH L 61.5% C 0.059 H 295.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#877EA5
RGBrgb(135, 126, 165)
HSLhsl(254, 18%, 57%)
HSVhsv(254, 24%, 65%)
CMYKcmyk(18.2%, 23.6%, 0%, 35.3%)
CIE-LABlab(54.85, 11.68, -19.52)
CIE-LCHlch(54.85, 22.75, 300.90°)
OKLaboklab(61.53% 0.0251 -0.0534)
OKLCHoklch(61.53% 0.059 295.2)
XYZxyz(24.2426, 22.7890, 38.7116)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EA5 #9CA57E
analogous
#7E89A5 #877EA5 #9B7EA5
triadic
#877EA5 #A5877E #7EA587
tetradic
#877EA5 #A57E89 #9CA57E #7EA59B
square
#877EA5 #A57E89 #9CA57E #7EA59B
split-complementary
#877EA5 #A59B7E #89A57E
monochromatic
#4C4563 #685E87 #877EA5 #A9A2BE #CAC6D7

Accessibility & contrast

On white

3.78
#877EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#877EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EA5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EA5#FFFFFF#000000##000000
##877EA51.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584A7
Deuteranopia (green-blind)
#7683A4
Tritanopia (blue-blind)
#81848B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877ea5;
/* rgb */ color: rgb(135, 126, 165);
/* oklch */ color: oklch(61.5% 0.059 295.2);
Tailwind
colors: {
  custom: {
    50: '#aaa3bf',
    500: '#877ea5',
    950: '#000000',
  },
}
SCSS
$custom: #877ea5;
$custom-light: #aaa3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#877ea5",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 253.846,
    "s": 17.808,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61526,
    "c": 0.05902,
    "h": 295.2
  },
  "luminance": 0.22789
}

Semantic roles & 50–950 ramp

primary
#877EA5
secondary
#C4C7B7
accent
#BA6DA9
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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