#877CA9#877CA9

#877CA9 is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.3% C 0.068 H 295.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#877CA9
RGBrgb(135, 124, 169)
HSLhsl(255, 21%, 57%)
HSVhsv(255, 27%, 66%)
CMYKcmyk(20.1%, 26.6%, 0%, 33.7%)
CIE-LABlab(54.48, 13.80, -22.40)
CIE-LCHlch(54.48, 26.31, 301.63°)
OKLaboklab(61.29% 0.0294 -0.0615)
OKLCHoklch(61.29% 0.068 295.5)
XYZxyz(24.3592, 22.4306, 40.5746)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CA9 #9EA97C
analogous
#7C87A9 #877CA9 #9E7CA9
triadic
#877CA9 #A9877C #7CA987
tetradic
#877CA9 #A97C87 #9EA97C #7CA99E
square
#877CA9 #A97C87 #9EA97C #7CA99E
split-complementary
#877CA9 #A99E7C #87A97C
monochromatic
#4C4467 #685C8C #877CA9 #A9A1C1 #CBC6DA

Accessibility & contrast

On white

3.83
#877CA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#877CA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CA9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CA9#FFFFFF#000000##000000
##877CA91.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7283AB
Deuteranopia (green-blind)
#7382A8
Tritanopia (blue-blind)
#81838C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877ca9;
/* rgb */ color: rgb(135, 124, 169);
/* oklch */ color: oklch(61.3% 0.068 295.5);
Tailwind
colors: {
  custom: {
    50: '#aaa2c2',
    500: '#877ca9',
    950: '#000000',
  },
}
SCSS
$custom: #877ca9;
$custom-light: #aaa2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#877ca9",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 169
  },
  "hsl": {
    "h": 254.667,
    "s": 20.737,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.0682,
    "h": 295.5
  },
  "luminance": 0.22431
}

Semantic roles & 50–950 ramp

primary
#877CA9
secondary
#C5C9B7
accent
#BD6AA9
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #877CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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