#877CB5#877CB5

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

Color values

HEX#877CB5
RGBrgb(135, 124, 181)
HSLhsl(252, 28%, 60%)
HSVhsv(252, 31%, 71%)
CMYKcmyk(25.4%, 31.5%, 0%, 29%)
CIE-LABlab(54.97, 16.73, -28.55)
CIE-LCHlch(54.97, 33.09, 300.37°)
OKLaboklab(61.83% 0.0329 -0.079)
OKLCHoklch(61.83% 0.086 292.6)
XYZxyz(25.5378, 22.9020, 46.7822)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CB5 #AAB57C
analogous
#7C8EB5 #877CB5 #A47CB5
triadic
#877CB5 #B5877C #7CB587
tetradic
#877CB5 #B57C8E #AAB57C #7CB5A4
square
#877CB5 #B57C8E #AAB57C #7CB5A4
split-complementary
#877CB5 #B5A47C #8EB57C
monochromatic
#4C4275 #65589C #877CB5 #ABA3CB #CFCAE1

Accessibility & contrast

On white

3.76
#877CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#877CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CB5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CB5#FFFFFF#000000##000000
##877CB51.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D84B7
Deuteranopia (green-blind)
#6E83B3
Tritanopia (blue-blind)
#7D8690
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #877cb5;
/* rgb */ color: rgb(135, 124, 181);
/* oklch */ color: oklch(61.8% 0.086 292.6);
Tailwind
colors: {
  custom: {
    50: '#aba2cb',
    500: '#877cb5',
    950: '#000000',
  },
}
SCSS
$custom: #877cb5;
$custom-light: #aba2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#877cb5",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 181
  },
  "hsl": {
    "h": 251.579,
    "s": 27.805,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61828,
    "c": 0.0856,
    "h": 292.6
  },
  "luminance": 0.22902
}

Semantic roles & 50–950 ramp

primary
#877CB5
secondary
#CDD1BB
accent
#C464B2
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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