#877EAA#877EAA

#877EAA is a mid, moderate violet. Relative luminance 0.230; OKLCH L 61.7% C 0.066 H 293.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#877EAA
RGBrgb(135, 126, 170)
HSLhsl(252, 21%, 58%)
HSVhsv(252, 26%, 67%)
CMYKcmyk(20.6%, 25.9%, 0%, 33.3%)
CIE-LABlab(55.05, 12.87, -22.11)
CIE-LCHlch(55.05, 25.58, 300.20°)
OKLaboklab(61.74% 0.0267 -0.0607)
OKLCHoklch(61.74% 0.066 293.7)
XYZxyz(24.7066, 22.9746, 41.1553)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877EAA #A1AA7E
analogous
#7E8BAA #877EAA #9D7EAA
triadic
#877EAA #AA877E #7EAA87
tetradic
#877EAA #AA7E8B #A1AA7E #7EAA9D
square
#877EAA #AA7E8B #A1AA7E #7EAA9D
split-complementary
#877EAA #AA9D7E #8BAA7E
monochromatic
#4C4569 #675D8E #877EAA #A9A3C2 #CCC8DB

Accessibility & contrast

On white

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

On black

5.60
#877EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877EAA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877EAA#FFFFFF#000000##000000
##877EAA1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877eaa;
/* rgb */ color: rgb(135, 126, 170);
/* oklch */ color: oklch(61.7% 0.066 293.7);
Tailwind
colors: {
  custom: {
    50: '#aaa3c3',
    500: '#877eaa',
    950: '#000000',
  },
}
SCSS
$custom: #877eaa;
$custom-light: #aaa3c3;
$custom-dark: #000000;
JSON
{
  "hex": "#877eaa",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 170
  },
  "hsl": {
    "h": 252.273,
    "s": 20.561,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61738,
    "c": 0.06634,
    "h": 293.7
  },
  "luminance": 0.22975
}

Semantic roles & 50–950 ramp

primary
#877EAA
secondary
#C7CBB9
accent
#BD6BAC
background
#FAFAFC
surface
#F4F3F8
border
#CECDD1
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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