#877B98#877B98

#877B98 is a mid, muted violet. Relative luminance 0.216; OKLCH L 60.4% C 0.045 H 303.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#877B98
RGBrgb(135, 123, 152)
HSLhsl(265, 12%, 54%)
HSVhsv(265, 19%, 60%)
CMYKcmyk(11.2%, 19.1%, 0%, 40.4%)
CIE-LABlab(53.58, 10.48, -13.92)
CIE-LCHlch(53.58, 17.42, 306.97°)
OKLaboklab(60.38% 0.0253 -0.0377)
OKLCHoklch(60.38% 0.045 303.9)
XYZxyz(22.7411, 21.5838, 32.6677)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B98 #8C987B
analogous
#7B7E98 #877B98 #967B98
triadic
#877B98 #98877B #7B9887
tetradic
#877B98 #987B7E #8C987B #7B9896
square
#877B98 #987B7E #8C987B #7B9896
split-complementary
#877B98 #98967B #7E987B
monochromatic
#4B4356 #695E78 #877B98 #A69DB3 #C6C0CE

Accessibility & contrast

On white

3.95
#877B98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#877B98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B98
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B98#FFFFFF#000000##000000
##877B981.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#768099
Deuteranopia (green-blind)
#788097
Tritanopia (blue-blind)
#857F85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #877b98;
/* rgb */ color: rgb(135, 123, 152);
/* oklch */ color: oklch(60.4% 0.045 303.9);
Tailwind
colors: {
  custom: {
    50: '#aaa1b6',
    500: '#877b98',
    950: '#000000',
  },
}
SCSS
$custom: #877b98;
$custom-light: #aaa1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#877b98",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 152
  },
  "hsl": {
    "h": 264.828,
    "s": 12.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.04544,
    "h": 303.9
  },
  "luminance": 0.21584
}

Semantic roles & 50–950 ramp

primary
#877B98
secondary
#B8BEB1
accent
#B5739A
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #877B98

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

Preview Lab → · Contrast checker → · Palette generator →

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