#877896#877896

#877896 is a mid, muted violet. Relative luminance 0.208; OKLCH L 59.7% C 0.048 H 307.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#877896
RGBrgb(135, 120, 150)
HSLhsl(270, 13%, 53%)
HSVhsv(270, 20%, 59%)
CMYKcmyk(10%, 20%, 0%, 41.2%)
CIE-LABlab(52.71, 11.80, -14.07)
CIE-LCHlch(52.71, 18.36, 309.98°)
OKLaboklab(59.69% 0.0293 -0.0381)
OKLCHoklch(59.69% 0.048 307.6)
XYZxyz(22.2122, 20.7860, 31.6902)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877896 #879678
analogous
#787896 #877896 #967896
triadic
#877896 #968778 #789687
tetradic
#877896 #967878 #879678 #789696
square
#877896 #967878 #879678 #789696
split-complementary
#877896 #969678 #789678
monochromatic
#4A4153 #685B75 #877896 #A69AB1 #C4BDCC

Accessibility & contrast

On white

4.07
#877896 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#877896 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877896
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877896#FFFFFF#000000##000000
##8778961.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#737D97
Deuteranopia (green-blind)
#767E95
Tritanopia (blue-blind)
#857C82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #877896;
/* rgb */ color: rgb(135, 120, 150);
/* oklch */ color: oklch(59.7% 0.048 307.6);
Tailwind
colors: {
  custom: {
    50: '#aa9fb5',
    500: '#877896',
    950: '#000000',
  },
}
SCSS
$custom: #877896;
$custom-light: #aa9fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#877896",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 150
  },
  "hsl": {
    "h": 270,
    "s": 12.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59688,
    "c": 0.04808,
    "h": 307.6
  },
  "luminance": 0.20786
}

Semantic roles & 50–950 ramp

primary
#877896
secondary
#B5BBAE
accent
#B57294
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #877896

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

Preview Lab → · Contrast checker → · Palette generator →

#877896 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva