#877CB7#877CB7

#877CB7 is a mid, moderate violet. Relative luminance 0.230; OKLCH L 61.9% C 0.088 H 292.2°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#877CB7
RGBrgb(135, 124, 183)
HSLhsl(251, 29%, 60%)
HSVhsv(251, 32%, 72%)
CMYKcmyk(26.2%, 32.2%, 0%, 28.2%)
CIE-LABlab(55.06, 17.23, -29.57)
CIE-LCHlch(55.06, 34.22, 300.23°)
OKLaboklab(61.92% 0.0334 -0.082)
OKLCHoklch(61.92% 0.089 292.2)
XYZxyz(25.7445, 22.9847, 47.8707)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877CB7 #ACB77C
analogous
#7C8FB7 #877CB7 #A47CB7
triadic
#877CB7 #B7877C #7CB787
tetradic
#877CB7 #B77C8F #ACB77C #7CB7A4
square
#877CB7 #B77C8F #ACB77C #7CB7A4
split-complementary
#877CB7 #B7A47C #8FB77C
monochromatic
#4B4177 #64579F #877CB7 #ABA3CD #CFCBE2

Accessibility & contrast

On white

3.75
#877CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#877CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877CB7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877CB7#FFFFFF#000000##000000
##877CB71.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D85B9
Deuteranopia (green-blind)
#6E83B5
Tritanopia (blue-blind)
#7D8691
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #877cb7;
/* rgb */ color: rgb(135, 124, 183);
/* oklch */ color: oklch(61.9% 0.088 292.2);
Tailwind
colors: {
  custom: {
    50: '#aba2cd',
    500: '#877cb7',
    950: '#000000',
  },
}
SCSS
$custom: #877cb7;
$custom-light: #aba2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#877cb7",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 183
  },
  "hsl": {
    "h": 251.186,
    "s": 29.064,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61921,
    "c": 0.0885,
    "h": 292.2
  },
  "luminance": 0.22985
}

Semantic roles & 50–950 ramp

primary
#877CB7
secondary
#CED3BC
accent
#A83E94
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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