#877EA1#877EA1

#877EA1 is a mid, muted violet. Relative luminance 0.226; OKLCH L 61.4% C 0.053 H 296.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#877EA1
RGBrgb(135, 126, 161)
HSLhsl(255, 16%, 56%)
HSVhsv(255, 22%, 63%)
CMYKcmyk(16.1%, 21.7%, 0%, 36.9%)
CIE-LABlab(54.71, 10.76, -17.44)
CIE-LCHlch(54.71, 20.49, 301.67°)
OKLaboklab(61.36% 0.0238 -0.0476)
OKLCHoklch(61.36% 0.053 296.6)
XYZxyz(23.8842, 22.6457, 36.8241)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EA1 #98A17E
analogous
#7E87A1 #877EA1 #997EA1
triadic
#877EA1 #A1877E #7EA187
tetradic
#877EA1 #A17E87 #98A17E #7EA199
square
#877EA1 #A17E87 #98A17E #7EA199
split-complementary
#877EA1 #A1997E #87A17E
monochromatic
#4C455F #685F83 #877EA1 #A8A1BB #C9C5D5

Accessibility & contrast

On white

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

On black

5.53
#877EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EA1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EA1#FFFFFF#000000##000000
##877EA11.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7783A3
Deuteranopia (green-blind)
#7882A0
Tritanopia (blue-blind)
#82838A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877ea1;
/* rgb */ color: rgb(135, 126, 161);
/* oklch */ color: oklch(61.4% 0.053 296.6);
Tailwind
colors: {
  custom: {
    50: '#aaa3bd',
    500: '#877ea1',
    950: '#000000',
  },
}
SCSS
$custom: #877ea1;
$custom-light: #aaa3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#877ea1",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 255.429,
    "s": 15.695,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61362,
    "c": 0.05318,
    "h": 296.6
  },
  "luminance": 0.22646
}

Semantic roles & 50–950 ramp

primary
#877EA1
secondary
#C1C5B6
accent
#B86FA6
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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