#877AB2#877AB2

#877AB2 is a mid, moderate violet. Relative luminance 0.223; OKLCH L 61.3% C 0.085 H 294.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#877AB2
RGBrgb(135, 122, 178)
HSLhsl(254, 27%, 59%)
HSVhsv(254, 31%, 70%)
CMYKcmyk(24.2%, 31.5%, 0%, 30.2%)
CIE-LABlab(54.33, 17.16, -27.83)
CIE-LCHlch(54.33, 32.69, 301.66°)
OKLaboklab(61.29% 0.035 -0.077)
OKLCHoklch(61.29% 0.085 294.4)
XYZxyz(24.9852, 22.2840, 45.0958)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877AB2 #A5B27A
analogous
#7A89B2 #877AB2 #A37AB2
triadic
#877AB2 #B2877A #7AB287
tetradic
#877AB2 #B27A89 #A5B27A #7AB2A3
square
#877AB2 #B27A89 #A5B27A #7AB2A3
split-complementary
#877AB2 #B2A37A #89B27A
monochromatic
#4C4170 #665897 #877AB2 #AAA1C8 #CDC8DF

Accessibility & contrast

On white

3.85
#877AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#877AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877AB2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877AB2#FFFFFF#000000##000000
##877AB21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C82B4
Deuteranopia (green-blind)
#6E81B0
Tritanopia (blue-blind)
#7E838E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877ab2;
/* rgb */ color: rgb(135, 122, 178);
/* oklch */ color: oklch(61.3% 0.085 294.4);
Tailwind
colors: {
  custom: {
    50: '#aba0c9',
    500: '#877ab2',
    950: '#000000',
  },
}
SCSS
$custom: #877ab2;
$custom-light: #aba0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#877ab2",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 253.929,
    "s": 26.667,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61291,
    "c": 0.08454,
    "h": 294.4
  },
  "luminance": 0.22284
}

Semantic roles & 50–950 ramp

primary
#877AB2
secondary
#CACFB9
accent
#C365AD
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #877AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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