#877ABE#877ABE

#877ABE is a mid, moderate violet. Relative luminance 0.228; OKLCH L 61.9% C 0.102 H 291.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#877ABE
RGBrgb(135, 122, 190)
HSLhsl(251, 34%, 61%)
HSVhsv(251, 36%, 75%)
CMYKcmyk(28.9%, 35.8%, 0%, 25.5%)
CIE-LABlab(54.85, 20.19, -33.89)
CIE-LCHlch(54.85, 39.45, 300.78°)
OKLaboklab(61.87% 0.038 -0.0944)
OKLCHoklch(61.87% 0.102 291.9)
XYZxyz(26.2432, 22.7872, 51.7209)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877ABE #B1BE7A
analogous
#7A8FBE #877ABE #A97ABE
triadic
#877ABE #BE877A #7ABE87
tetradic
#877ABE #BE7A8F #B1BE7A #7ABEA9
square
#877ABE #BE7A8F #B1BE7A #7ABEA9
split-complementary
#877ABE #BEA97A #8FBE7A
monochromatic
#4B3E7F #6352A8 #877ABE #ACA3D2 #D1CCE6

Accessibility & contrast

On white

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

On black

5.56
#877ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877ABE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877ABE#FFFFFF#000000##000000
##877ABE1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C1
Deuteranopia (green-blind)
#6882BC
Tritanopia (blue-blind)
#7B8693
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #877abe;
/* rgb */ color: rgb(135, 122, 190);
/* oklch */ color: oklch(61.9% 0.102 291.9);
Tailwind
colors: {
  custom: {
    50: '#aba0d2',
    500: '#877abe',
    950: '#000000',
  },
}
SCSS
$custom: #877abe;
$custom-light: #aba0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#877abe",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 251.471,
    "s": 34.343,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61867,
    "c": 0.10176,
    "h": 291.9
  },
  "luminance": 0.22788
}

Semantic roles & 50–950 ramp

primary
#877ABE
secondary
#D2D7BD
accent
#AD3897
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #877ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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