#877BAE#877BAE

#877BAE is a mid, moderate violet. Relative luminance 0.224; OKLCH L 61.3% C 0.077 H 294.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#877BAE
RGBrgb(135, 123, 174)
HSLhsl(254, 24%, 58%)
HSVhsv(254, 29%, 68%)
CMYKcmyk(22.4%, 29.3%, 0%, 31.8%)
CIE-LABlab(54.42, 15.59, -25.38)
CIE-LCHlch(54.42, 29.79, 301.57°)
OKLaboklab(61.31% 0.0324 -0.07)
OKLCHoklch(61.31% 0.077 294.8)
XYZxyz(24.7129, 22.3726, 43.0526)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BAE #A2AE7B
analogous
#7B88AE #877BAE #A07BAE
triadic
#877BAE #AE877B #7BAE87
tetradic
#877BAE #AE7B88 #A2AE7B #7BAEA0
square
#877BAE #AE7B88 #A2AE7B #7BAEA0
split-complementary
#877BAE #AEA07B #88AE7B
monochromatic
#4C426C #675A92 #877BAE #A9A1C5 #CCC7DD

Accessibility & contrast

On white

3.84
#877BAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#877BAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BAE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BAE#FFFFFF#000000##000000
##877BAE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F83B0
Deuteranopia (green-blind)
#7081AD
Tritanopia (blue-blind)
#7F838D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877bae;
/* rgb */ color: rgb(135, 123, 174);
/* oklch */ color: oklch(61.3% 0.077 294.8);
Tailwind
colors: {
  custom: {
    50: '#aaa1c6',
    500: '#877bae',
    950: '#000000',
  },
}
SCSS
$custom: #877bae;
$custom-light: #aaa1c6;
$custom-dark: #000000;
JSON
{
  "hex": "#877bae",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 174
  },
  "hsl": {
    "h": 254.118,
    "s": 23.944,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61308,
    "c": 0.07711,
    "h": 294.8
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

primary
#877BAE
secondary
#C8CDB8
accent
#C067AB
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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