#877BB6#877BB6

#877BB6 is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.7% C 0.089 H 292.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#877BB6
RGBrgb(135, 123, 182)
HSLhsl(252, 29%, 60%)
HSVhsv(252, 32%, 71%)
CMYKcmyk(25.8%, 32.4%, 0%, 28.6%)
CIE-LABlab(54.76, 17.57, -29.46)
CIE-LCHlch(54.76, 34.30, 300.81°)
OKLaboklab(61.68% 0.0346 -0.0816)
OKLCHoklch(61.68% 0.089 292.9)
XYZxyz(25.5161, 22.6939, 47.2829)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BB6 #AAB67B
analogous
#7B8DB6 #877BB6 #A47BB6
triadic
#877BB6 #B6877B #7BB687
tetradic
#877BB6 #B67B8D #AAB67B #7BB6A4
square
#877BB6 #B67B8D #AAB67B #7BB6A4
split-complementary
#877BB6 #B6A47B #8DB67B
monochromatic
#4C4176 #65579D #877BB6 #ABA2CC #CFCAE2

Accessibility & contrast

On white

3.79
#877BB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#877BB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BB6
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BB6#FFFFFF#000000##000000
##877BB61.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C84B8
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#7D8590
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877bb6;
/* rgb */ color: rgb(135, 123, 182);
/* oklch */ color: oklch(61.7% 0.089 292.9);
Tailwind
colors: {
  custom: {
    50: '#aba1cc',
    500: '#877bb6',
    950: '#000000',
  },
}
SCSS
$custom: #877bb6;
$custom-light: #aba1cc;
$custom-dark: #000000;
JSON
{
  "hex": "#877bb6",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 182
  },
  "hsl": {
    "h": 252.203,
    "s": 28.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61676,
    "c": 0.08867,
    "h": 292.9
  },
  "luminance": 0.22694
}

Semantic roles & 50–950 ramp

primary
#877BB6
secondary
#CDD2BB
accent
#C563B1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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