#877FA3#877FA3

#877FA3 is a mid, muted violet. Relative luminance 0.230; OKLCH L 61.6% C 0.054 H 294.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#877FA3
RGBrgb(135, 127, 163)
HSLhsl(253, 16%, 57%)
HSVhsv(253, 22%, 64%)
CMYKcmyk(17.2%, 22.1%, 0%, 36.1%)
CIE-LABlab(55.05, 10.63, -18.08)
CIE-LCHlch(55.05, 20.97, 300.47°)
OKLaboklab(61.65% 0.023 -0.0493)
OKLCHoklch(61.65% 0.054 294.9)
XYZxyz(24.1905, 22.9738, 37.8032)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FA3 #9BA37F
analogous
#7F89A3 #877FA3 #997FA3
triadic
#877FA3 #A3877F #7FA387
tetradic
#877FA3 #A37F89 #9BA37F #7FA399
square
#877FA3 #A37F89 #9BA37F #7FA399
split-complementary
#877FA3 #A3997F #89A37F
monochromatic
#4C4662 #686085 #877FA3 #A8A3BD #CAC6D6

Accessibility & contrast

On white

3.75
#877FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#877FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FA3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FA3#FFFFFF#000000##000000
##877FA31.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A5
Deuteranopia (green-blind)
#7883A2
Tritanopia (blue-blind)
#82848B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #877fa3;
/* rgb */ color: rgb(135, 127, 163);
/* oklch */ color: oklch(61.6% 0.054 294.9);
Tailwind
colors: {
  custom: {
    50: '#aaa4be',
    500: '#877fa3',
    950: '#000000',
  },
}
SCSS
$custom: #877fa3;
$custom-light: #aaa4be;
$custom-dark: #000000;
JSON
{
  "hex": "#877fa3",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 253.333,
    "s": 16.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61649,
    "c": 0.05443,
    "h": 294.9
  },
  "luminance": 0.22974
}

Semantic roles & 50–950 ramp

primary
#877FA3
secondary
#C3C6B8
accent
#B96FA9
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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