#877EA9#877EA9

#877EA9 is a mid, moderate violet. Relative luminance 0.229; OKLCH L 61.7% C 0.065 H 294.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#877EA9
RGBrgb(135, 126, 169)
HSLhsl(253, 20%, 58%)
HSVhsv(253, 25%, 66%)
CMYKcmyk(20.1%, 25.4%, 0%, 33.7%)
CIE-LABlab(55.01, 12.63, -21.60)
CIE-LCHlch(55.01, 25.02, 300.32°)
OKLaboklab(61.7% 0.0264 -0.0593)
OKLCHoklch(61.7% 0.065 294)
XYZxyz(24.6123, 22.9370, 40.6590)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EA9 #A0A97E
analogous
#7E8AA9 #877EA9 #9C7EA9
triadic
#877EA9 #A9877E #7EA987
tetradic
#877EA9 #A97E8A #A0A97E #7EA99C
square
#877EA9 #A97E8A #A0A97E #7EA99C
split-complementary
#877EA9 #A99C7E #8AA97E
monochromatic
#4C4568 #675E8C #877EA9 #A9A3C1 #CBC7DA

Accessibility & contrast

On white

3.76
#877EA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##877EA9#FFFFFF#000000##000000
##877EA91.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7484AB
Deuteranopia (green-blind)
#7583A8
Tritanopia (blue-blind)
#80858D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #877ea9;
/* rgb */ color: rgb(135, 126, 169);
/* oklch */ color: oklch(61.7% 0.065 294.0);
Tailwind
colors: {
  custom: {
    50: '#aaa3c2',
    500: '#877ea9',
    950: '#000000',
  },
}
SCSS
$custom: #877ea9;
$custom-light: #aaa3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#877ea9",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 169
  },
  "hsl": {
    "h": 252.558,
    "s": 20,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61695,
    "c": 0.06487,
    "h": 294
  },
  "luminance": 0.22937
}

Semantic roles & 50–950 ramp

primary
#877EA9
secondary
#C6CAB9
accent
#BD6BAC
background
#FAFAFB
surface
#F4F3F7
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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