#877EA4#877EA4

#877EA4 is a mid, muted violet. Relative luminance 0.228; OKLCH L 61.5% C 0.058 H 295.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#877EA4
RGBrgb(135, 126, 164)
HSLhsl(254, 17%, 57%)
HSVhsv(254, 23%, 64%)
CMYKcmyk(17.7%, 23.2%, 0%, 35.7%)
CIE-LABlab(54.82, 11.45, -19.00)
CIE-LCHlch(54.82, 22.19, 301.07°)
OKLaboklab(61.49% 0.0248 -0.0519)
OKLCHoklch(61.49% 0.058 295.5)
XYZxyz(24.1519, 22.7528, 38.2341)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EA4 #9BA47E
analogous
#7E88A4 #877EA4 #9A7EA4
triadic
#877EA4 #A4877E #7EA487
tetradic
#877EA4 #A47E88 #9BA47E #7EA49A
square
#877EA4 #A47E88 #9BA47E #7EA49A
split-complementary
#877EA4 #A49A7E #88A47E
monochromatic
#4C4562 #685F86 #877EA4 #A8A2BD #CAC6D7

Accessibility & contrast

On white

3.78
#877EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#877EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EA4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EA4#FFFFFF#000000##000000
##877EA41.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7683A6
Deuteranopia (green-blind)
#7783A3
Tritanopia (blue-blind)
#82848B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877ea4;
/* rgb */ color: rgb(135, 126, 164);
/* oklch */ color: oklch(61.5% 0.058 295.5);
Tailwind
colors: {
  custom: {
    50: '#aaa3bf',
    500: '#877ea4',
    950: '#000000',
  },
}
SCSS
$custom: #877ea4;
$custom-light: #aaa3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#877ea4",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 254.211,
    "s": 17.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61485,
    "c": 0.05757,
    "h": 295.5
  },
  "luminance": 0.22753
}

Semantic roles & 50–950 ramp

primary
#877EA4
secondary
#C3C7B7
accent
#BA6EA8
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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