#877EA6#877EA6

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

Color values

HEX#877EA6
RGBrgb(135, 126, 166)
HSLhsl(254, 18%, 57%)
HSVhsv(254, 24%, 65%)
CMYKcmyk(18.7%, 24.1%, 0%, 34.9%)
CIE-LABlab(54.89, 11.92, -20.04)
CIE-LCHlch(54.89, 23.32, 300.74°)
OKLaboklab(61.57% 0.0255 -0.0549)
OKLCHoklch(61.57% 0.06 294.9)
XYZxyz(24.3339, 22.8256, 39.1928)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EA6 #9DA67E
analogous
#7E89A6 #877EA6 #9B7EA6
triadic
#877EA6 #A6877E #7EA687
tetradic
#877EA6 #A67E89 #9DA67E #7EA69B
square
#877EA6 #A67E89 #9DA67E #7EA69B
split-complementary
#877EA6 #A69B7E #89A67E
monochromatic
#4C4564 #685E89 #877EA6 #A9A2BF #CAC6D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877EA6#FFFFFF#000000##000000
##877EA61.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)
#7584A8
Deuteranopia (green-blind)
#7683A5
Tritanopia (blue-blind)
#81848C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877ea6;
/* rgb */ color: rgb(135, 126, 166);
/* oklch */ color: oklch(61.6% 0.060 294.9);
Tailwind
colors: {
  custom: {
    50: '#aaa3c0',
    500: '#877ea6',
    950: '#000000',
  },
}
SCSS
$custom: #877ea6;
$custom-light: #aaa3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#877ea6",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 253.5,
    "s": 18.349,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61568,
    "c": 0.06049,
    "h": 294.9
  },
  "luminance": 0.22826
}

Semantic roles & 50–950 ramp

primary
#877EA6
secondary
#C4C8B8
accent
#BB6DA9
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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