#877AA2#877AA2

#877AA2 is a mid, moderate violet. Relative luminance 0.217; OKLCH L 60.6% C 0.061 H 299.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#877AA2
RGBrgb(135, 122, 162)
HSLhsl(260, 18%, 56%)
HSVhsv(260, 25%, 64%)
CMYKcmyk(16.7%, 24.7%, 0%, 36.5%)
CIE-LABlab(53.68, 13.33, -19.57)
CIE-LCHlch(53.68, 23.68, 304.25°)
OKLaboklab(60.58% 0.0302 -0.0535)
OKLCHoklch(60.58% 0.061 299.5)
XYZxyz(23.4714, 21.6785, 37.1232)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AA2 #95A27A
analogous
#7A81A2 #877AA2 #9B7AA2
triadic
#877AA2 #A2877A #7AA287
tetradic
#877AA2 #A27A81 #95A27A #7AA29B
square
#877AA2 #A27A81 #95A27A #7AA29B
split-complementary
#877AA2 #A29B7A #81A27A
monochromatic
#4C425F #685C83 #877AA2 #A79EBB #C8C2D4

Accessibility & contrast

On white

3.94
#877AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#877AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AA2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AA2#FFFFFF#000000##000000
##877AA21.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7280A4
Deuteranopia (green-blind)
#7480A1
Tritanopia (blue-blind)
#828088
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #877aa2;
/* rgb */ color: rgb(135, 122, 162);
/* oklch */ color: oklch(60.6% 0.061 299.5);
Tailwind
colors: {
  custom: {
    50: '#aaa0bd',
    500: '#877aa2',
    950: '#000000',
  },
}
SCSS
$custom: #877aa2;
$custom-light: #aaa0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#877aa2",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 259.5,
    "s": 17.699,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60584,
    "c": 0.06148,
    "h": 299.5
  },
  "luminance": 0.21679
}

Semantic roles & 50–950 ramp

primary
#877AA2
secondary
#BFC4B4
accent
#BA6DA1
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #877AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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