#877ABB#877ABB

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

Color values

HEX#877ABB
RGBrgb(135, 122, 187)
HSLhsl(252, 32%, 61%)
HSVhsv(252, 35%, 73%)
CMYKcmyk(27.8%, 34.8%, 0%, 26.7%)
CIE-LABlab(54.72, 19.42, -32.39)
CIE-LCHlch(54.72, 37.76, 300.95°)
OKLaboklab(61.72% 0.0373 -0.0901)
OKLCHoklch(61.72% 0.097 292.5)
XYZxyz(25.9186, 22.6574, 50.0119)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877ABB #AEBB7A
analogous
#7A8DBB #877ABB #A77ABB
triadic
#877ABB #BB877A #7ABB87
tetradic
#877ABB #BB7A8D #AEBB7A #7ABBA7
square
#877ABB #BB7A8D #AEBB7A #7ABBA7
split-complementary
#877ABB #BBA77A #8DBB7A
monochromatic
#4B3F7B #6454A4 #877ABB #ACA2D0 #D0CBE4

Accessibility & contrast

On white

3.80
#877ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#877ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877ABB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877ABB#FFFFFF#000000##000000
##877ABB1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#6A82B9
Tritanopia (blue-blind)
#7C8592
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877abb;
/* rgb */ color: rgb(135, 122, 187);
/* oklch */ color: oklch(61.7% 0.097 292.5);
Tailwind
colors: {
  custom: {
    50: '#aba0cf',
    500: '#877abb',
    950: '#000000',
  },
}
SCSS
$custom: #877abb;
$custom-light: #aba0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#877abb",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 252,
    "s": 32.338,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.09747,
    "h": 292.5
  },
  "luminance": 0.22658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #877ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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