#877CA4#877CA4

#877CA4 is a mid, moderate violet. Relative luminance 0.222; OKLCH L 61.1% C 0.061 H 297.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#877CA4
RGBrgb(135, 124, 164)
HSLhsl(257, 18%, 56%)
HSVhsv(257, 24%, 64%)
CMYKcmyk(17.7%, 24.4%, 0%, 35.7%)
CIE-LABlab(54.29, 12.62, -19.81)
CIE-LCHlch(54.29, 23.49, 302.50°)
OKLaboklab(61.08% 0.0278 -0.0542)
OKLCHoklch(61.08% 0.061 297.2)
XYZxyz(23.8987, 22.2464, 38.1497)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CA4 #99A47C
analogous
#7C85A4 #877CA4 #9B7CA4
triadic
#877CA4 #A4877C #7CA487
tetradic
#877CA4 #A47C85 #99A47C #7CA49B
square
#877CA4 #A47C85 #99A47C #7CA49B
split-complementary
#877CA4 #A49B7C #85A47C
monochromatic
#4C4462 #685D86 #877CA4 #A8A0BD #C9C4D6

Accessibility & contrast

On white

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

On black

5.45
#877CA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CA4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CA4#FFFFFF#000000##000000
##877CA41.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877ca4;
/* rgb */ color: rgb(135, 124, 164);
/* oklch */ color: oklch(61.1% 0.061 297.2);
Tailwind
colors: {
  custom: {
    50: '#aaa2bf',
    500: '#877ca4',
    950: '#000000',
  },
}
SCSS
$custom: #877ca4;
$custom-light: #aaa2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#877ca4",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 164
  },
  "hsl": {
    "h": 256.5,
    "s": 18.018,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61075,
    "c": 0.06094,
    "h": 297.2
  },
  "luminance": 0.22247
}

Semantic roles & 50–950 ramp

primary
#877CA4
secondary
#C2C6B6
accent
#BB6DA5
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #877CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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