#877CA7#877CA7

#877CA7 is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.2% C 0.065 H 296.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#877CA7
RGBrgb(135, 124, 167)
HSLhsl(255, 20%, 57%)
HSVhsv(255, 26%, 65%)
CMYKcmyk(19.2%, 25.7%, 0%, 34.5%)
CIE-LABlab(54.40, 13.33, -21.37)
CIE-LCHlch(54.40, 25.18, 301.95°)
OKLaboklab(61.2% 0.0288 -0.0586)
OKLCHoklch(61.2% 0.065 296.2)
XYZxyz(24.1728, 22.3561, 39.5934)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CA7 #9CA77C
analogous
#7C87A7 #877CA7 #9D7CA7
triadic
#877CA7 #A7877C #7CA787
tetradic
#877CA7 #A77C87 #9CA77C #7CA79D
square
#877CA7 #A77C87 #9CA77C #7CA79D
split-complementary
#877CA7 #A79D7C #87A77C
monochromatic
#4C4465 #685C89 #877CA7 #A9A1C0 #CAC5D8

Accessibility & contrast

On white

3.84
#877CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#877CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CA7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CA7#FFFFFF#000000##000000
##877CA71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7382A9
Deuteranopia (green-blind)
#7482A6
Tritanopia (blue-blind)
#81838B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877ca7;
/* rgb */ color: rgb(135, 124, 167);
/* oklch */ color: oklch(61.2% 0.065 296.2);
Tailwind
colors: {
  custom: {
    50: '#aaa2c1',
    500: '#877ca7',
    950: '#000000',
  },
}
SCSS
$custom: #877ca7;
$custom-light: #aaa2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#877ca7",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 255.349,
    "s": 19.635,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61202,
    "c": 0.06529,
    "h": 296.2
  },
  "luminance": 0.22356
}

Semantic roles & 50–950 ramp

primary
#877CA7
secondary
#C4C8B7
accent
#BC6CA8
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#100F12
muted
#7F7E81

Preview Lab

Preview with #877CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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