#877CA2#877CA2

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

Color values

HEX#877CA2
RGBrgb(135, 124, 162)
HSLhsl(257, 17%, 56%)
HSVhsv(257, 23%, 64%)
CMYKcmyk(16.7%, 23.5%, 0%, 36.5%)
CIE-LABlab(54.21, 12.16, -18.77)
CIE-LCHlch(54.21, 22.36, 302.93°)
OKLaboklab(60.99% 0.0272 -0.0513)
OKLCHoklch(60.99% 0.058 297.9)
XYZxyz(23.7195, 22.1747, 37.2059)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CA2 #97A27C
analogous
#7C84A2 #877CA2 #9A7CA2
triadic
#877CA2 #A2877C #7CA287
tetradic
#877CA2 #A27C84 #97A27C #7CA29A
square
#877CA2 #A27C84 #97A27C #7CA29A
split-complementary
#877CA2 #A29A7C #84A27C
monochromatic
#4C4460 #685D83 #877CA2 #A8A0BB #C9C4D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877CA2#FFFFFF#000000##000000
##877CA21.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)
#7482A4
Deuteranopia (green-blind)
#7681A1
Tritanopia (blue-blind)
#828289
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877ca2;
/* rgb */ color: rgb(135, 124, 162);
/* oklch */ color: oklch(61.0% 0.058 297.9);
Tailwind
colors: {
  custom: {
    50: '#aaa2bd',
    500: '#877ca2',
    950: '#000000',
  },
}
SCSS
$custom: #877ca2;
$custom-light: #aaa2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#877ca2",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 257.368,
    "s": 16.964,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.05804,
    "h": 297.9
  },
  "luminance": 0.22175
}

Semantic roles & 50–950 ramp

primary
#877CA2
secondary
#C0C5B5
accent
#BA6EA4
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #877CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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