#877A9E#877A9E

#877A9E is a mid, muted violet. Relative luminance 0.215; OKLCH L 60.4% C 0.056 H 301.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#877A9E
RGBrgb(135, 122, 158)
HSLhsl(262, 16%, 55%)
HSVhsv(262, 23%, 62%)
CMYKcmyk(14.6%, 22.8%, 0%, 38%)
CIE-LABlab(53.53, 12.41, -17.48)
CIE-LCHlch(53.53, 21.44, 305.37°)
OKLaboklab(60.42% 0.0289 -0.0477)
OKLCHoklch(60.42% 0.056 301.3)
XYZxyz(23.1215, 21.5386, 35.2804)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A9E #919E7A
analogous
#7A7F9E #877A9E #997A9E
triadic
#877A9E #9E877A #7A9E87
tetradic
#877A9E #9E7A7F #919E7A #7A9E99
square
#877A9E #9E7A7F #919E7A #7A9E99
split-complementary
#877A9E #9E997A #7F9E7A
monochromatic
#4B425B #695C7F #877A9E #A79DB8 #C7C1D2

Accessibility & contrast

On white

3.96
#877A9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#877A9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A9E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A9E#FFFFFF#000000##000000
##877A9E1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7380A0
Deuteranopia (green-blind)
#75809D
Tritanopia (blue-blind)
#837F86
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #877a9e;
/* rgb */ color: rgb(135, 122, 158);
/* oklch */ color: oklch(60.4% 0.056 301.3);
Tailwind
colors: {
  custom: {
    50: '#aaa0ba',
    500: '#877a9e',
    950: '#000000',
  },
}
SCSS
$custom: #877a9e;
$custom-light: #aaa0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#877a9e",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 158
  },
  "hsl": {
    "h": 261.667,
    "s": 15.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.05575,
    "h": 301.3
  },
  "luminance": 0.21539
}

Semantic roles & 50–950 ramp

primary
#877A9E
secondary
#BCC1B2
accent
#B86F9E
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #877A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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