#877CB4#877CB4

#877CB4 is a mid, moderate violet. Relative luminance 0.229; OKLCH L 61.8% C 0.084 H 292.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#877CB4
RGBrgb(135, 124, 180)
HSLhsl(252, 27%, 60%)
HSVhsv(252, 31%, 71%)
CMYKcmyk(25%, 31.1%, 0%, 29.4%)
CIE-LABlab(54.93, 16.48, -28.04)
CIE-LCHlch(54.93, 32.53, 300.44°)
OKLaboklab(61.78% 0.0326 -0.0776)
OKLCHoklch(61.78% 0.084 292.8)
XYZxyz(25.4356, 22.8611, 46.2437)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CB4 #A9B47C
analogous
#7C8DB4 #877CB4 #A37CB4
triadic
#877CB4 #B4877C #7CB487
tetradic
#877CB4 #B47C8D #A9B47C #7CB4A3
square
#877CB4 #B47C8D #A9B47C #7CB4A3
split-complementary
#877CB4 #B4A37C #8DB47C
monochromatic
#4C4273 #65589A #877CB4 #ABA3CA #CECAE1

Accessibility & contrast

On white

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

On black

5.57
#877CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CB4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CB4#FFFFFF#000000##000000
##877CB41.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E84B6
Deuteranopia (green-blind)
#6F82B3
Tritanopia (blue-blind)
#7E8590
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877cb4;
/* rgb */ color: rgb(135, 124, 180);
/* oklch */ color: oklch(61.8% 0.084 292.8);
Tailwind
colors: {
  custom: {
    50: '#aba2ca',
    500: '#877cb4',
    950: '#000000',
  },
}
SCSS
$custom: #877cb4;
$custom-light: #aba2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#877cb4",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 180
  },
  "hsl": {
    "h": 251.786,
    "s": 27.184,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.08416,
    "h": 292.8
  },
  "luminance": 0.22861
}

Semantic roles & 50–950 ramp

primary
#877CB4
secondary
#CCD1BB
accent
#C464B1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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