#877DA4#877DA4

#877DA4 is a mid, muted violet. Relative luminance 0.225; OKLCH L 61.3% C 0.059 H 296.4°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#877DA4
RGBrgb(135, 125, 164)
HSLhsl(255, 18%, 57%)
HSVhsv(255, 24%, 64%)
CMYKcmyk(17.7%, 23.8%, 0%, 35.7%)
CIE-LABlab(54.55, 12.04, -19.41)
CIE-LCHlch(54.55, 22.84, 301.81°)
OKLaboklab(61.28% 0.0263 -0.0531)
OKLCHoklch(61.28% 0.059 296.4)
XYZxyz(24.0247, 22.4983, 38.1917)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DA4 #9AA47D
analogous
#7D87A4 #877DA4 #9B7DA4
triadic
#877DA4 #A4877D #7DA487
tetradic
#877DA4 #A47D87 #9AA47D #7DA49B
square
#877DA4 #A47D87 #9AA47D #7DA49B
split-complementary
#877DA4 #A49B7D #87A47D
monochromatic
#4C4562 #685E86 #877DA4 #A8A1BD #C9C5D6

Accessibility & contrast

On white

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

On black

5.50
#877DA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DA4
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DA4#FFFFFF#000000##000000
##877DA41.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7583A6
Deuteranopia (green-blind)
#7682A3
Tritanopia (blue-blind)
#82838A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877da4;
/* rgb */ color: rgb(135, 125, 164);
/* oklch */ color: oklch(61.3% 0.059 296.4);
Tailwind
colors: {
  custom: {
    50: '#aaa2bf',
    500: '#877da4',
    950: '#000000',
  },
}
SCSS
$custom: #877da4;
$custom-light: #aaa2bf;
$custom-dark: #000000;
JSON
{
  "hex": "#877da4",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 164
  },
  "hsl": {
    "h": 255.385,
    "s": 17.647,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.05924,
    "h": 296.4
  },
  "luminance": 0.22498
}

Semantic roles & 50–950 ramp

primary
#877DA4
secondary
#C2C6B6
accent
#BA6DA7
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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