#877EA2#877EA2

#877EA2 is a mid, muted violet. Relative luminance 0.227; OKLCH L 61.4% C 0.055 H 296.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#877EA2
RGBrgb(135, 126, 162)
HSLhsl(255, 16%, 56%)
HSVhsv(255, 22%, 64%)
CMYKcmyk(16.7%, 22.2%, 0%, 36.5%)
CIE-LABlab(54.74, 10.99, -17.96)
CIE-LCHlch(54.74, 21.05, 301.45°)
OKLaboklab(61.4% 0.0241 -0.049)
OKLCHoklch(61.4% 0.055 296.2)
XYZxyz(23.9727, 22.6811, 37.2903)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EA2 #99A27E
analogous
#7E87A2 #877EA2 #997EA2
triadic
#877EA2 #A2877E #7EA287
tetradic
#877EA2 #A27E87 #99A27E #7EA299
square
#877EA2 #A27E87 #99A27E #7EA299
split-complementary
#877EA2 #A2997E #87A27E
monochromatic
#4C4560 #685F84 #877EA2 #A8A2BC #C9C5D5

Accessibility & contrast

On white

3.79
#877EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#877EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EA2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EA2#FFFFFF#000000##000000
##877EA21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7683A4
Deuteranopia (green-blind)
#7883A1
Tritanopia (blue-blind)
#82838A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877ea2;
/* rgb */ color: rgb(135, 126, 162);
/* oklch */ color: oklch(61.4% 0.055 296.2);
Tailwind
colors: {
  custom: {
    50: '#aaa3bd',
    500: '#877ea2',
    950: '#000000',
  },
}
SCSS
$custom: #877ea2;
$custom-light: #aaa3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#877ea2",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 255,
    "s": 16.216,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61402,
    "c": 0.05464,
    "h": 296.2
  },
  "luminance": 0.22681
}

Semantic roles & 50–950 ramp

primary
#877EA2
secondary
#C2C5B7
accent
#B96FA6
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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