#877BB7#877BB7

#877BB7 is a mid, moderate violet. Relative luminance 0.227; OKLCH L 61.7% C 0.090 H 292.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#877BB7
RGBrgb(135, 123, 183)
HSLhsl(252, 29%, 60%)
HSVhsv(252, 33%, 72%)
CMYKcmyk(26.2%, 32.8%, 0%, 28.2%)
CIE-LABlab(54.80, 17.82, -29.97)
CIE-LCHlch(54.80, 34.86, 300.74°)
OKLaboklab(61.72% 0.0348 -0.0831)
OKLCHoklch(61.72% 0.09 292.7)
XYZxyz(25.6198, 22.7353, 47.8291)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BB7 #ABB77B
analogous
#7B8DB7 #877BB7 #A57BB7
triadic
#877BB7 #B7877B #7BB787
tetradic
#877BB7 #B77B8D #ABB77B #7BB7A5
square
#877BB7 #B77B8D #ABB77B #7BB7A5
split-complementary
#877BB7 #B7A57B #8DB77B
monochromatic
#4C4177 #65569E #877BB7 #ABA3CD #CFCAE2

Accessibility & contrast

On white

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

On black

5.55
#877BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877BB7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877BB7#FFFFFF#000000##000000
##877BB71.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B84B9
Deuteranopia (green-blind)
#6D82B5
Tritanopia (blue-blind)
#7D8591
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877bb7;
/* rgb */ color: rgb(135, 123, 183);
/* oklch */ color: oklch(61.7% 0.090 292.7);
Tailwind
colors: {
  custom: {
    50: '#aba1cd',
    500: '#877bb7',
    950: '#000000',
  },
}
SCSS
$custom: #877bb7;
$custom-light: #aba1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#877bb7",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 252,
    "s": 29.412,
    "l": 60
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.09011,
    "h": 292.7
  },
  "luminance": 0.22736
}

Semantic roles & 50–950 ramp

primary
#877BB7
secondary
#CED2BB
accent
#C662B2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100F13
muted
#7F7E82

Preview Lab

Preview with #877BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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