#877AAA#877AAA

#877AAA is a mid, moderate violet. Relative luminance 0.220; OKLCH L 60.9% C 0.073 H 296.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#877AAA
RGBrgb(135, 122, 170)
HSLhsl(256, 22%, 57%)
HSVhsv(256, 28%, 67%)
CMYKcmyk(20.6%, 28.2%, 0%, 33.3%)
CIE-LABlab(54.00, 15.22, -23.72)
CIE-LCHlch(54.00, 28.18, 302.67°)
OKLaboklab(60.93% 0.0327 -0.0653)
OKLCHoklch(60.93% 0.073 296.6)
XYZxyz(24.2053, 21.9721, 40.9882)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AAA #9DAA7A
analogous
#7A85AA #877AAA #9F7AAA
triadic
#877AAA #AA877A #7AAA87
tetradic
#877AAA #AA7A85 #9DAA7A #7AAA9F
square
#877AAA #AA7A85 #9DAA7A #7AAA9F
split-complementary
#877AAA #AA9F7A #85AA7A
monochromatic
#4C4267 #685A8D #877AAA #A99FC2 #CAC5DA

Accessibility & contrast

On white

3.89
#877AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#877AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AAA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AAA#FFFFFF#000000##000000
##877AAA1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F81AC
Deuteranopia (green-blind)
#7181A9
Tritanopia (blue-blind)
#80828B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #877aaa;
/* rgb */ color: rgb(135, 122, 170);
/* oklch */ color: oklch(60.9% 0.073 296.6);
Tailwind
colors: {
  custom: {
    50: '#aaa0c3',
    500: '#877aaa',
    950: '#000000',
  },
}
SCSS
$custom: #877aaa;
$custom-light: #aaa0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#877aaa",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 256.25,
    "s": 22.018,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60929,
    "c": 0.073,
    "h": 296.6
  },
  "luminance": 0.21972
}

Semantic roles & 50–950 ramp

primary
#877AAA
secondary
#C4CAB6
accent
#BF69A7
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #877AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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