#877CA5#877CA5

#877CA5 is a mid, moderate violet. Relative luminance 0.223; OKLCH L 61.1% C 0.062 H 296.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#877CA5
RGBrgb(135, 124, 165)
HSLhsl(256, 19%, 57%)
HSVhsv(256, 25%, 65%)
CMYKcmyk(18.2%, 24.8%, 0%, 35.3%)
CIE-LABlab(54.33, 12.86, -20.33)
CIE-LCHlch(54.33, 24.05, 302.31°)
OKLaboklab(61.12% 0.0282 -0.0557)
OKLCHoklch(61.12% 0.062 296.8)
XYZxyz(23.9894, 22.2827, 38.6272)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CA5 #9AA57C
analogous
#7C86A5 #877CA5 #9C7CA5
triadic
#877CA5 #A5877C #7CA587
tetradic
#877CA5 #A57C86 #9AA57C #7CA59C
square
#877CA5 #A57C86 #9AA57C #7CA59C
split-complementary
#877CA5 #A59C7C #86A57C
monochromatic
#4C4463 #685D87 #877CA5 #A8A0BE #C9C5D7

Accessibility & contrast

On white

3.85
#877CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#877CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CA5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CA5#FFFFFF#000000##000000
##877CA51.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7382A7
Deuteranopia (green-blind)
#7581A4
Tritanopia (blue-blind)
#82828A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877ca5;
/* rgb */ color: rgb(135, 124, 165);
/* oklch */ color: oklch(61.1% 0.062 296.8);
Tailwind
colors: {
  custom: {
    50: '#aaa2bf',
    500: '#877ca5',
    950: '#000000',
  },
}
SCSS
$custom: #877ca5;
$custom-light: #aaa2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#877ca5",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 165
  },
  "hsl": {
    "h": 256.098,
    "s": 18.552,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61117,
    "c": 0.06239,
    "h": 296.8
  },
  "luminance": 0.22283
}

Semantic roles & 50–950 ramp

primary
#877CA5
secondary
#C2C7B6
accent
#BB6DA6
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #877CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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