#877EA7#877EA7

#877EA7 is a mid, moderate violet. Relative luminance 0.229; OKLCH L 61.6% C 0.062 H 294.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#877EA7
RGBrgb(135, 126, 167)
HSLhsl(253, 19%, 57%)
HSVhsv(253, 25%, 65%)
CMYKcmyk(19.2%, 24.6%, 0%, 34.5%)
CIE-LABlab(54.93, 12.15, -20.56)
CIE-LCHlch(54.93, 23.88, 300.59°)
OKLaboklab(61.61% 0.0258 -0.0563)
OKLCHoklch(61.61% 0.062 294.6)
XYZxyz(24.4260, 22.8624, 39.6778)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EA7 #9EA77E
analogous
#7E89A7 #877EA7 #9C7EA7
triadic
#877EA7 #A7877E #7EA787
tetradic
#877EA7 #A77E89 #9EA77E #7EA79C
square
#877EA7 #A77E89 #9EA77E #7EA79C
split-complementary
#877EA7 #A79C7E #89A77E
monochromatic
#4C4565 #685E8A #877EA7 #A9A2C0 #CBC7D9

Accessibility & contrast

On white

3.77
#877EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#877EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EA7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EA7#FFFFFF#000000##000000
##877EA71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584A9
Deuteranopia (green-blind)
#7683A6
Tritanopia (blue-blind)
#81848C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877ea7;
/* rgb */ color: rgb(135, 126, 167);
/* oklch */ color: oklch(61.6% 0.062 294.6);
Tailwind
colors: {
  custom: {
    50: '#aaa3c1',
    500: '#877ea7',
    950: '#000000',
  },
}
SCSS
$custom: #877ea7;
$custom-light: #aaa3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#877ea7",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 253.171,
    "s": 18.894,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6161,
    "c": 0.06195,
    "h": 294.6
  },
  "luminance": 0.22863
}

Semantic roles & 50–950 ramp

primary
#877EA7
secondary
#C5C9B8
accent
#BC6CAA
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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