#877DAA#877DAA

#877DAA is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.5% C 0.068 H 294.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#877DAA
RGBrgb(135, 125, 170)
HSLhsl(253, 21%, 58%)
HSVhsv(253, 26%, 67%)
CMYKcmyk(20.6%, 26.5%, 0%, 33.3%)
CIE-LABlab(54.78, 13.45, -22.52)
CIE-LCHlch(54.78, 26.23, 300.86°)
OKLaboklab(61.54% 0.0282 -0.0619)
OKLCHoklch(61.54% 0.068 294.5)
XYZxyz(24.5794, 22.7202, 41.1129)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DAA #A0AA7D
analogous
#7D89AA #877DAA #9D7DAA
triadic
#877DAA #AA877D #7DAA87
tetradic
#877DAA #AA7D89 #A0AA7D #7DAA9D
square
#877DAA #AA7D89 #A0AA7D #7DAA9D
split-complementary
#877DAA #AA9D7D #89AA7D
monochromatic
#4C4468 #675C8D #877DAA #A9A2C2 #CBC7DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877DAA#FFFFFF#000000##000000
##877DAA1.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)
#7384AC
Deuteranopia (green-blind)
#7482A9
Tritanopia (blue-blind)
#80848D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877daa;
/* rgb */ color: rgb(135, 125, 170);
/* oklch */ color: oklch(61.5% 0.068 294.5);
Tailwind
colors: {
  custom: {
    50: '#aaa2c3',
    500: '#877daa',
    950: '#000000',
  },
}
SCSS
$custom: #877daa;
$custom-light: #aaa2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#877daa",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 170
  },
  "hsl": {
    "h": 253.333,
    "s": 20.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61535,
    "c": 0.06799,
    "h": 294.5
  },
  "luminance": 0.2272
}

Semantic roles & 50–950 ramp

primary
#877DAA
secondary
#C6CAB8
accent
#BD6AAB
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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