#877EA3#877EA3

#877EA3 is a mid, muted violet. Relative luminance 0.227; OKLCH L 61.4% C 0.056 H 295.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#877EA3
RGBrgb(135, 126, 163)
HSLhsl(255, 17%, 57%)
HSVhsv(255, 23%, 64%)
CMYKcmyk(17.2%, 22.7%, 0%, 36.1%)
CIE-LABlab(54.78, 11.22, -18.48)
CIE-LCHlch(54.78, 21.62, 301.26°)
OKLaboklab(61.44% 0.0245 -0.0505)
OKLCHoklch(61.44% 0.056 295.9)
XYZxyz(24.0620, 22.7168, 37.7603)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EA3 #9AA37E
analogous
#7E88A3 #877EA3 #9A7EA3
triadic
#877EA3 #A3877E #7EA387
tetradic
#877EA3 #A37E88 #9AA37E #7EA39A
square
#877EA3 #A37E88 #9AA37E #7EA39A
split-complementary
#877EA3 #A39A7E #88A37E
monochromatic
#4C4561 #685F85 #877EA3 #A8A2BC #C9C5D6

Accessibility & contrast

On white

3.79
#877EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#877EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EA3
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EA3#FFFFFF#000000##000000
##877EA31.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877ea3;
/* rgb */ color: rgb(135, 126, 163);
/* oklch */ color: oklch(61.4% 0.056 295.9);
Tailwind
colors: {
  custom: {
    50: '#aaa3be',
    500: '#877ea3',
    950: '#000000',
  },
}
SCSS
$custom: #877ea3;
$custom-light: #aaa3be;
$custom-dark: #000000;
JSON
{
  "hex": "#877ea3",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 254.595,
    "s": 16.742,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61443,
    "c": 0.05611,
    "h": 295.9
  },
  "luminance": 0.22717
}

Semantic roles & 50–950 ramp

primary
#877EA3
secondary
#C2C6B7
accent
#B96EA7
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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