#877CB3#877CB3

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

Color values

HEX#877CB3
RGBrgb(135, 124, 179)
HSLhsl(252, 27%, 59%)
HSVhsv(252, 31%, 70%)
CMYKcmyk(24.6%, 30.7%, 0%, 29.8%)
CIE-LABlab(54.89, 16.23, -27.53)
CIE-LCHlch(54.89, 31.96, 300.52°)
OKLaboklab(61.73% 0.0323 -0.0761)
OKLCHoklch(61.73% 0.083 293)
XYZxyz(25.3341, 22.8205, 45.7092)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CB3 #A8B37C
analogous
#7C8DB3 #877CB3 #A37CB3
triadic
#877CB3 #B3877C #7CB387
tetradic
#877CB3 #B37C8D #A8B37C #7CB3A3
square
#877CB3 #B37C8D #A8B37C #7CB3A3
split-complementary
#877CB3 #B3A37C #8DB37C
monochromatic
#4C4272 #665999 #877CB3 #AAA3C9 #CEC9E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877CB3#FFFFFF#000000##000000
##877CB31.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)
#6E84B5
Deuteranopia (green-blind)
#6F82B2
Tritanopia (blue-blind)
#7E8590
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877cb3;
/* rgb */ color: rgb(135, 124, 179);
/* oklch */ color: oklch(61.7% 0.083 293.0);
Tailwind
colors: {
  custom: {
    50: '#aba2ca',
    500: '#877cb3',
    950: '#000000',
  },
}
SCSS
$custom: #877cb3;
$custom-light: #aba2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#877cb3",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 179
  },
  "hsl": {
    "h": 252,
    "s": 26.57,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61735,
    "c": 0.08271,
    "h": 293
  },
  "luminance": 0.22821
}

Semantic roles & 50–950 ramp

primary
#877CB3
secondary
#CCD0BB
accent
#C365B0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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