#877EA8#877EA8

#877EA8 is a mid, moderate violet. Relative luminance 0.229; OKLCH L 61.7% C 0.063 H 294.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#877EA8
RGBrgb(135, 126, 168)
HSLhsl(253, 19%, 58%)
HSVhsv(253, 25%, 66%)
CMYKcmyk(19.6%, 25%, 0%, 34.1%)
CIE-LABlab(54.97, 12.39, -21.08)
CIE-LCHlch(54.97, 24.45, 300.45°)
OKLaboklab(61.65% 0.0261 -0.0578)
OKLCHoklch(61.65% 0.063 294.3)
XYZxyz(24.5188, 22.8995, 40.1665)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EA8 #9FA87E
analogous
#7E8AA8 #877EA8 #9C7EA8
triadic
#877EA8 #A8877E #7EA887
tetradic
#877EA8 #A87E8A #9FA87E #7EA89C
square
#877EA8 #A87E8A #9FA87E #7EA89C
split-complementary
#877EA8 #A89C7E #8AA87E
monochromatic
#4C4566 #675E8B #877EA8 #A9A3C1 #CBC7D9

Accessibility & contrast

On white

3.76
#877EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#877EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EA8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EA8#FFFFFF#000000##000000
##877EA81.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584AA
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#81858D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #877ea8;
/* rgb */ color: rgb(135, 126, 168);
/* oklch */ color: oklch(61.7% 0.063 294.3);
Tailwind
colors: {
  custom: {
    50: '#aaa3c2',
    500: '#877ea8',
    950: '#000000',
  },
}
SCSS
$custom: #877ea8;
$custom-light: #aaa3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#877ea8",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 252.857,
    "s": 19.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61652,
    "c": 0.06342,
    "h": 294.3
  },
  "luminance": 0.229
}

Semantic roles & 50–950 ramp

primary
#877EA8
secondary
#C6C9B8
accent
#BC6CAB
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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