#877CA3#877CA3

#877CA3 is a mid, muted violet. Relative luminance 0.222; OKLCH L 61.0% C 0.059 H 297.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#877CA3
RGBrgb(135, 124, 163)
HSLhsl(257, 17%, 56%)
HSVhsv(257, 24%, 64%)
CMYKcmyk(17.2%, 23.9%, 0%, 36.1%)
CIE-LABlab(54.25, 12.39, -19.29)
CIE-LCHlch(54.25, 22.93, 302.71°)
OKLaboklab(61.03% 0.0275 -0.0527)
OKLCHoklch(61.03% 0.059 297.5)
XYZxyz(23.8088, 22.2104, 37.6759)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CA3 #98A37C
analogous
#7C85A3 #877CA3 #9B7CA3
triadic
#877CA3 #A3877C #7CA387
tetradic
#877CA3 #A37C85 #98A37C #7CA39B
square
#877CA3 #A37C85 #98A37C #7CA39B
split-complementary
#877CA3 #A39B7C #85A37C
monochromatic
#4C4461 #685D85 #877CA3 #A8A0BC #C9C4D5

Accessibility & contrast

On white

3.86
#877CA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#877CA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CA3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CA3#FFFFFF#000000##000000
##877CA31.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7482A5
Deuteranopia (green-blind)
#7581A2
Tritanopia (blue-blind)
#828289
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877ca3;
/* rgb */ color: rgb(135, 124, 163);
/* oklch */ color: oklch(61.0% 0.059 297.5);
Tailwind
colors: {
  custom: {
    50: '#aaa2be',
    500: '#877ca3',
    950: '#000000',
  },
}
SCSS
$custom: #877ca3;
$custom-light: #aaa2be;
$custom-dark: #000000;
JSON
{
  "hex": "#877ca3",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 163
  },
  "hsl": {
    "h": 256.923,
    "s": 17.489,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61033,
    "c": 0.05949,
    "h": 297.5
  },
  "luminance": 0.22211
}

Semantic roles & 50–950 ramp

primary
#877CA3
secondary
#C1C5B5
accent
#BA6EA5
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #877CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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