#877ABA#877ABA

#877ABA is a mid, moderate violet. Relative luminance 0.226; OKLCH L 61.7% C 0.096 H 292.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#877ABA
RGBrgb(135, 122, 186)
HSLhsl(252, 32%, 60%)
HSVhsv(252, 34%, 73%)
CMYKcmyk(27.4%, 34.4%, 0%, 27.1%)
CIE-LABlab(54.67, 19.16, -31.88)
CIE-LCHlch(54.67, 37.20, 301.01°)
OKLaboklab(61.67% 0.037 -0.0886)
OKLCHoklch(61.67% 0.096 292.7)
XYZxyz(25.8120, 22.6147, 49.4500)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877ABA #ADBA7A
analogous
#7A8DBA #877ABA #A77ABA
triadic
#877ABA #BA877A #7ABA87
tetradic
#877ABA #BA7A8D #ADBA7A #7ABAA7
square
#877ABA #BA7A8D #ADBA7A #7ABAA7
split-complementary
#877ABA #BAA77A #8DBA7A
monochromatic
#4B3F7A #6454A2 #877ABA #ABA2CF #D0CBE4

Accessibility & contrast

On white

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

On black

5.52
#877ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877ABA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877ABA#FFFFFF#000000##000000
##877ABA1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BD
Deuteranopia (green-blind)
#6A82B8
Tritanopia (blue-blind)
#7C8591
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877aba;
/* rgb */ color: rgb(135, 122, 186);
/* oklch */ color: oklch(61.7% 0.096 292.7);
Tailwind
colors: {
  custom: {
    50: '#aba0cf',
    500: '#877aba',
    950: '#000000',
  },
}
SCSS
$custom: #877aba;
$custom-light: #aba0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#877aba",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 252.188,
    "s": 31.683,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61671,
    "c": 0.09604,
    "h": 292.7
  },
  "luminance": 0.22615
}

Semantic roles & 50–950 ramp

primary
#877ABA
secondary
#CFD4BC
accent
#AA3B94
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #877ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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