#877CAA#877CAA

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

Color values

HEX#877CAA
RGBrgb(135, 124, 170)
HSLhsl(254, 21%, 58%)
HSVhsv(254, 27%, 67%)
CMYKcmyk(20.6%, 27.1%, 0%, 33.3%)
CIE-LABlab(54.52, 14.04, -22.92)
CIE-LCHlch(54.52, 26.88, 301.49°)
OKLaboklab(61.33% 0.0297 -0.063)
OKLCHoklch(61.33% 0.07 295.2)
XYZxyz(24.4534, 22.4683, 41.0709)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CAA #9FAA7C
analogous
#7C88AA #877CAA #9E7CAA
triadic
#877CAA #AA877C #7CAA87
tetradic
#877CAA #AA7C88 #9FAA7C #7CAA9E
square
#877CAA #AA7C88 #9FAA7C #7CAA9E
split-complementary
#877CAA #AA9E7C #88AA7C
monochromatic
#4C4468 #675C8D #877CAA #A9A1C2 #CBC6DA

Accessibility & contrast

On white

3.82
#877CAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##877CAA#FFFFFF#000000##000000
##877CAA1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7283AC
Deuteranopia (green-blind)
#7382A9
Tritanopia (blue-blind)
#80838C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877caa;
/* rgb */ color: rgb(135, 124, 170);
/* oklch */ color: oklch(61.3% 0.070 295.2);
Tailwind
colors: {
  custom: {
    50: '#aaa2c3',
    500: '#877caa',
    950: '#000000',
  },
}
SCSS
$custom: #877caa;
$custom-light: #aaa2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#877caa",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 170
  },
  "hsl": {
    "h": 254.348,
    "s": 21.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.06965,
    "h": 295.2
  },
  "luminance": 0.22468
}

Semantic roles & 50–950 ramp

primary
#877CAA
secondary
#C6CAB8
accent
#BE6AAA
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #877CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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