#877ABD#877ABD

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

Color values

HEX#877ABD
RGBrgb(135, 122, 189)
HSLhsl(252, 34%, 61%)
HSVhsv(252, 35%, 74%)
CMYKcmyk(28.6%, 35.4%, 0%, 25.9%)
CIE-LABlab(54.81, 19.93, -33.39)
CIE-LCHlch(54.81, 38.88, 300.83°)
OKLaboklab(61.82% 0.0378 -0.0929)
OKLCHoklch(61.82% 0.1 292.1)
XYZxyz(26.1342, 22.7437, 51.1473)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877ABD #B0BD7A
analogous
#7A8EBD #877ABD #A87ABD
triadic
#877ABD #BD877A #7ABD87
tetradic
#877ABD #BD7A8E #B0BD7A #7ABDA8
square
#877ABD #BD7A8E #B0BD7A #7ABDA8
split-complementary
#877ABD #BDA87A #8EBD7A
monochromatic
#4B3F7E #6353A7 #877ABD #ACA3D1 #D1CCE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877ABD#FFFFFF#000000##000000
##877ABD1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884C0
Deuteranopia (green-blind)
#6982BB
Tritanopia (blue-blind)
#7B8693
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877abd;
/* rgb */ color: rgb(135, 122, 189);
/* oklch */ color: oklch(61.8% 0.100 292.1);
Tailwind
colors: {
  custom: {
    50: '#aba0d1',
    500: '#877abd',
    950: '#000000',
  },
}
SCSS
$custom: #877abd;
$custom-light: #aba0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#877abd",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 189
  },
  "hsl": {
    "h": 251.642,
    "s": 33.668,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61817,
    "c": 0.10033,
    "h": 292.1
  },
  "luminance": 0.22744
}

Semantic roles & 50–950 ramp

primary
#877ABD
secondary
#D1D6BD
accent
#AC3996
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #877ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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