#877BA2#877BA2

#877BA2 is a mid, muted violet. Relative luminance 0.219; OKLCH L 60.8% C 0.060 H 298.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#877BA2
RGBrgb(135, 123, 162)
HSLhsl(258, 17%, 56%)
HSVhsv(258, 24%, 64%)
CMYKcmyk(16.7%, 24.1%, 0%, 36.5%)
CIE-LABlab(53.95, 12.74, -19.17)
CIE-LCHlch(53.95, 23.02, 303.61°)
OKLaboklab(60.79% 0.0287 -0.0524)
OKLCHoklch(60.79% 0.06 298.7)
XYZxyz(23.5949, 21.9254, 37.1644)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BA2 #96A27B
analogous
#7B82A2 #877BA2 #9A7BA2
triadic
#877BA2 #A2877B #7BA287
tetradic
#877BA2 #A27B82 #96A27B #7BA29A
square
#877BA2 #A27B82 #96A27B #7BA29A
split-complementary
#877BA2 #A29A7B #82A27B
monochromatic
#4C435F #685D83 #877BA2 #A89FBB #C8C3D5

Accessibility & contrast

On white

3.90
#877BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##877BA2#FFFFFF#000000##000000
##877BA21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7381A4
Deuteranopia (green-blind)
#7581A1
Tritanopia (blue-blind)
#828188
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #877ba2;
/* rgb */ color: rgb(135, 123, 162);
/* oklch */ color: oklch(60.8% 0.060 298.7);
Tailwind
colors: {
  custom: {
    50: '#aaa1bd',
    500: '#877ba2',
    950: '#000000',
  },
}
SCSS
$custom: #877ba2;
$custom-light: #aaa1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#877ba2",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 258.462,
    "s": 17.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.05975,
    "h": 298.7
  },
  "luminance": 0.21925
}

Semantic roles & 50–950 ramp

primary
#877BA2
secondary
#C0C4B4
accent
#BA6EA3
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #877BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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