#877FA0#877FA0

#877FA0 is a mid, muted violet. Relative luminance 0.229; OKLCH L 61.5% C 0.050 H 296.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#877FA0
RGBrgb(135, 127, 160)
HSLhsl(255, 15%, 56%)
HSVhsv(255, 21%, 63%)
CMYKcmyk(15.6%, 20.6%, 0%, 37.3%)
CIE-LABlab(54.94, 9.94, -16.51)
CIE-LCHlch(54.94, 19.27, 301.06°)
OKLaboklab(61.53% 0.0219 -0.045)
OKLCHoklch(61.53% 0.05 296)
XYZxyz(23.9249, 22.8676, 36.4043)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FA0 #98A07F
analogous
#7F88A0 #877FA0 #987FA0
triadic
#877FA0 #A0877F #7FA087
tetradic
#877FA0 #A07F88 #98A07F #7FA098
square
#877FA0 #A07F88 #98A07F #7FA098
split-complementary
#877FA0 #A0987F #88A07F
monochromatic
#4C465E #686082 #877FA0 #A8A2BA #C9C5D4

Accessibility & contrast

On white

3.77
#877FA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#877FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FA0
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FA0#FFFFFF#000000##000000
##877FA01.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A1
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#82848A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877fa0;
/* rgb */ color: rgb(135, 127, 160);
/* oklch */ color: oklch(61.5% 0.050 296.0);
Tailwind
colors: {
  custom: {
    50: '#aaa4bc',
    500: '#877fa0',
    950: '#000000',
  },
}
SCSS
$custom: #877fa0;
$custom-light: #aaa4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#877fa0",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 160
  },
  "hsl": {
    "h": 254.545,
    "s": 14.798,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61528,
    "c": 0.05004,
    "h": 296
  },
  "luminance": 0.22868
}

Semantic roles & 50–950 ramp

primary
#877FA0
secondary
#C1C4B7
accent
#B870A6
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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