#877BB8#877BB8

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

Color values

HEX#877BB8
RGBrgb(135, 123, 184)
HSLhsl(252, 30%, 60%)
HSVhsv(252, 33%, 72%)
CMYKcmyk(26.6%, 33.2%, 0%, 27.8%)
CIE-LABlab(54.84, 18.07, -30.47)
CIE-LCHlch(54.84, 35.43, 300.67°)
OKLaboklab(61.77% 0.0351 -0.0846)
OKLCHoklch(61.77% 0.092 292.5)
XYZxyz(25.7243, 22.7771, 48.3792)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877BB8 #ACB87B
analogous
#7B8EB8 #877BB8 #A57BB8
triadic
#877BB8 #B8877B #7BB887
tetradic
#877BB8 #B87B8E #ACB87B #7BB8A5
square
#877BB8 #B87B8E #ACB87B #7BB8A5
split-complementary
#877BB8 #B8A57B #8EB87B
monochromatic
#4B4178 #6456A0 #877BB8 #ABA3CD #CFCBE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877BB8#FFFFFF#000000##000000
##877BB81.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)
#6B84BA
Deuteranopia (green-blind)
#6C82B6
Tritanopia (blue-blind)
#7C8591
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877bb8;
/* rgb */ color: rgb(135, 123, 184);
/* oklch */ color: oklch(61.8% 0.092 292.5);
Tailwind
colors: {
  custom: {
    50: '#aba1cd',
    500: '#877bb8',
    950: '#000000',
  },
}
SCSS
$custom: #877bb8;
$custom-light: #aba1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#877bb8",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 184
  },
  "hsl": {
    "h": 251.803,
    "s": 30.049,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.09155,
    "h": 292.5
  },
  "luminance": 0.22778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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