#877BB9#877BB9

#877BB9 is a mid, moderate violet. Relative luminance 0.228; OKLCH L 61.8% C 0.093 H 292.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#877BB9
RGBrgb(135, 123, 185)
HSLhsl(252, 31%, 60%)
HSVhsv(252, 34%, 73%)
CMYKcmyk(27%, 33.5%, 0%, 27.5%)
CIE-LABlab(54.89, 18.32, -30.98)
CIE-LCHlch(54.89, 35.99, 300.60°)
OKLaboklab(61.82% 0.0354 -0.086)
OKLCHoklch(61.82% 0.093 292.3)
XYZxyz(25.8294, 22.8192, 48.9332)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BB9 #ADB97B
analogous
#7B8EB9 #877BB9 #A67BB9
triadic
#877BB9 #B9877B #7BB987
tetradic
#877BB9 #B97B8E #ADB97B #7BB9A6
square
#877BB9 #B97B8E #ADB97B #7BB9A6
split-complementary
#877BB9 #B9A67B #8EB97B
monochromatic
#4B4079 #6456A1 #877BB9 #ABA3CE #D0CBE3

Accessibility & contrast

On white

3.77
#877BB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#877BB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BB9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BB9#FFFFFF#000000##000000
##877BB91.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B84BC
Deuteranopia (green-blind)
#6C82B7
Tritanopia (blue-blind)
#7C8692
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877bb9;
/* rgb */ color: rgb(135, 123, 185);
/* oklch */ color: oklch(61.8% 0.093 292.3);
Tailwind
colors: {
  custom: {
    50: '#aba1ce',
    500: '#877bb9',
    950: '#000000',
  },
}
SCSS
$custom: #877bb9;
$custom-light: #aba1ce;
$custom-dark: #000000;
JSON
{
  "hex": "#877bb9",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 185
  },
  "hsl": {
    "h": 251.613,
    "s": 30.693,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61819,
    "c": 0.09299,
    "h": 292.3
  },
  "luminance": 0.2282
}

Semantic roles & 50–950 ramp

primary
#877BB9
secondary
#CFD4BC
accent
#A93C94
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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