#877FA5#877FA5

#877FA5 is a mid, muted violet. Relative luminance 0.230; OKLCH L 61.7% C 0.057 H 294.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#877FA5
RGBrgb(135, 127, 165)
HSLhsl(253, 17%, 57%)
HSVhsv(253, 23%, 65%)
CMYKcmyk(18.2%, 23%, 0%, 35.3%)
CIE-LABlab(55.12, 11.10, -19.12)
CIE-LCHlch(55.12, 22.11, 300.14°)
OKLaboklab(61.73% 0.0236 -0.0523)
OKLCHoklch(61.73% 0.057 294.3)
XYZxyz(24.3711, 23.0461, 38.7544)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FA5 #9DA57F
analogous
#7F8AA5 #877FA5 #9A7FA5
triadic
#877FA5 #A5877F #7FA587
tetradic
#877FA5 #A57F8A #9DA57F #7FA59A
square
#877FA5 #A57F8A #9DA57F #7FA59A
split-complementary
#877FA5 #A59A7F #8AA57F
monochromatic
#4C4664 #685F88 #877FA5 #A9A3BE #CAC7D8

Accessibility & contrast

On white

3.74
#877FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#877FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FA5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FA5#FFFFFF#000000##000000
##877FA51.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A7
Deuteranopia (green-blind)
#7783A4
Tritanopia (blue-blind)
#81858C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #877fa5;
/* rgb */ color: rgb(135, 127, 165);
/* oklch */ color: oklch(61.7% 0.057 294.3);
Tailwind
colors: {
  custom: {
    50: '#aaa4bf',
    500: '#877fa5',
    950: '#000000',
  },
}
SCSS
$custom: #877fa5;
$custom-light: #aaa4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#877fa5",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 252.632,
    "s": 17.431,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61732,
    "c": 0.05737,
    "h": 294.3
  },
  "luminance": 0.23046
}

Semantic roles & 50–950 ramp

primary
#877FA5
secondary
#C4C8B8
accent
#BA6EAA
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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