#877FA7#877FA7

#877FA7 is a mid, moderate violet. Relative luminance 0.231; OKLCH L 61.8% C 0.060 H 293.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#877FA7
RGBrgb(135, 127, 167)
HSLhsl(252, 19%, 58%)
HSVhsv(252, 24%, 65%)
CMYKcmyk(19.2%, 24%, 0%, 34.5%)
CIE-LABlab(55.20, 11.57, -20.16)
CIE-LCHlch(55.20, 23.24, 299.86°)
OKLaboklab(61.82% 0.0243 -0.0552)
OKLCHoklch(61.82% 0.06 293.7)
XYZxyz(24.5545, 23.1194, 39.7206)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FA7 #9FA77F
analogous
#7F8BA7 #877FA7 #9B7FA7
triadic
#877FA7 #A7877F #7FA787
tetradic
#877FA7 #A77F8B #9FA77F #7FA79B
square
#877FA7 #A77F8B #9FA77F #7FA79B
split-complementary
#877FA7 #A79B7F #8BA77F
monochromatic
#4C4666 #675F8A #877FA7 #A9A3C0 #CBC8D9

Accessibility & contrast

On white

3.73
#877FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#877FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FA7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FA7#FFFFFF#000000##000000
##877FA71.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7685A9
Deuteranopia (green-blind)
#7784A6
Tritanopia (blue-blind)
#81858D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #877fa7;
/* rgb */ color: rgb(135, 127, 167);
/* oklch */ color: oklch(61.8% 0.060 293.7);
Tailwind
colors: {
  custom: {
    50: '#aaa4c1',
    500: '#877fa7',
    950: '#000000',
  },
}
SCSS
$custom: #877fa7;
$custom-light: #aaa4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#877fa7",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 252,
    "s": 18.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61815,
    "c": 0.0603,
    "h": 293.7
  },
  "luminance": 0.2312
}

Semantic roles & 50–950 ramp

primary
#877FA7
secondary
#C6C9B9
accent
#BB6DAB
background
#FAFAFB
surface
#F4F4F7
border
#CECED0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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