#877ABC#877ABC

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

Color values

HEX#877ABC
RGBrgb(135, 122, 188)
HSLhsl(252, 33%, 61%)
HSVhsv(252, 35%, 74%)
CMYKcmyk(28.2%, 35.1%, 0%, 26.3%)
CIE-LABlab(54.76, 19.67, -32.89)
CIE-LCHlch(54.76, 38.32, 300.89°)
OKLaboklab(61.77% 0.0375 -0.0915)
OKLCHoklch(61.77% 0.099 292.3)
XYZxyz(26.0261, 22.7004, 50.5776)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877ABC #AFBC7A
analogous
#7A8EBC #877ABC #A87ABC
triadic
#877ABC #BC877A #7ABC87
tetradic
#877ABC #BC7A8E #AFBC7A #7ABCA8
square
#877ABC #BC7A8E #AFBC7A #7ABCA8
split-complementary
#877ABC #BCA87A #8EBC7A
monochromatic
#4B3F7D #6453A5 #877ABC #ACA3D1 #D0CBE5

Accessibility & contrast

On white

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

On black

5.54
#877ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877ABC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877ABC#FFFFFF#000000##000000
##877ABC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BF
Deuteranopia (green-blind)
#6982BA
Tritanopia (blue-blind)
#7B8592
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877abc;
/* rgb */ color: rgb(135, 122, 188);
/* oklch */ color: oklch(61.8% 0.099 292.3);
Tailwind
colors: {
  custom: {
    50: '#aba0d0',
    500: '#877abc',
    950: '#000000',
  },
}
SCSS
$custom: #877abc;
$custom-light: #aba0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#877abc",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 251.818,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61768,
    "c": 0.0989,
    "h": 292.3
  },
  "luminance": 0.22701
}

Semantic roles & 50–950 ramp

primary
#877ABC
secondary
#D0D5BC
accent
#AC3A95
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #877ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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