#877CB0#877CB0

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

Color values

HEX#877CB0
RGBrgb(135, 124, 176)
HSLhsl(253, 25%, 59%)
HSVhsv(253, 30%, 69%)
CMYKcmyk(23.3%, 29.5%, 0%, 31%)
CIE-LABlab(54.76, 15.49, -26.00)
CIE-LCHlch(54.76, 30.27, 300.79°)
OKLaboklab(61.6% 0.0315 -0.0718)
OKLCHoklch(61.6% 0.078 293.7)
XYZxyz(25.0340, 22.7005, 44.1286)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CB0 #A5B07C
analogous
#7C8BB0 #877CB0 #A17CB0
triadic
#877CB0 #B0877C #7CB087
tetradic
#877CB0 #B07C8B #A5B07C #7CB0A1
square
#877CB0 #B07C8B #A5B07C #7CB0A1
split-complementary
#877CB0 #B0A17C #8BB07C
monochromatic
#4C436F #665A95 #877CB0 #AAA2C7 #CDC8DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877CB0#FFFFFF#000000##000000
##877CB01.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)
#6F84B2
Deuteranopia (green-blind)
#7082AF
Tritanopia (blue-blind)
#7F858E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877cb0;
/* rgb */ color: rgb(135, 124, 176);
/* oklch */ color: oklch(61.6% 0.078 293.7);
Tailwind
colors: {
  custom: {
    50: '#aba2c7',
    500: '#877cb0',
    950: '#000000',
  },
}
SCSS
$custom: #877cb0;
$custom-light: #aba2c7;
$custom-dark: #000000;
JSON
{
  "hex": "#877cb0",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 176
  },
  "hsl": {
    "h": 252.692,
    "s": 24.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61598,
    "c": 0.07837,
    "h": 293.7
  },
  "luminance": 0.22701
}

Semantic roles & 50–950 ramp

primary
#877CB0
secondary
#CACEBA
accent
#C167AE
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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