#877CB2#877CB2

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

Color values

HEX#877CB2
RGBrgb(135, 124, 178)
HSLhsl(252, 26%, 59%)
HSVhsv(252, 30%, 70%)
CMYKcmyk(24.2%, 30.3%, 0%, 30.2%)
CIE-LABlab(54.85, 15.99, -27.03)
CIE-LCHlch(54.85, 31.40, 300.60°)
OKLaboklab(61.69% 0.032 -0.0747)
OKLCHoklch(61.69% 0.081 293.2)
XYZxyz(25.2333, 22.7802, 45.1785)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CB2 #A7B27C
analogous
#7C8CB2 #877CB2 #A27CB2
triadic
#877CB2 #B2877C #7CB287
tetradic
#877CB2 #B27C8C #A7B27C #7CB2A2
square
#877CB2 #B27C8C #A7B27C #7CB2A2
split-complementary
#877CB2 #B2A27C #8CB27C
monochromatic
#4C4271 #665998 #877CB2 #AAA3C9 #CEC9DF

Accessibility & contrast

On white

3.78
#877CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##877CB2#FFFFFF#000000##000000
##877CB21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F84B4
Deuteranopia (green-blind)
#7082B1
Tritanopia (blue-blind)
#7E858F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877cb2;
/* rgb */ color: rgb(135, 124, 178);
/* oklch */ color: oklch(61.7% 0.081 293.2);
Tailwind
colors: {
  custom: {
    50: '#aba2c9',
    500: '#877cb2',
    950: '#000000',
  },
}
SCSS
$custom: #877cb2;
$custom-light: #aba2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#877cb2",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 252.222,
    "s": 25.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.08127,
    "h": 293.2
  },
  "luminance": 0.22781
}

Semantic roles & 50–950 ramp

primary
#877CB2
secondary
#CBCFBA
accent
#C265AF
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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