#877DA2#877DA2

#877DA2 is a mid, muted violet. Relative luminance 0.224; OKLCH L 61.2% C 0.056 H 297.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#877DA2
RGBrgb(135, 125, 162)
HSLhsl(256, 17%, 56%)
HSVhsv(256, 23%, 64%)
CMYKcmyk(16.7%, 22.8%, 0%, 36.5%)
CIE-LABlab(54.48, 11.57, -18.36)
CIE-LCHlch(54.48, 21.71, 302.21°)
OKLaboklab(61.2% 0.0257 -0.0501)
OKLCHoklch(61.2% 0.056 297.1)
XYZxyz(23.8455, 22.4266, 37.2479)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877DA2 #98A27D
analogous
#7D86A2 #877DA2 #9A7DA2
triadic
#877DA2 #A2877D #7DA287
tetradic
#877DA2 #A27D86 #98A27D #7DA29A
square
#877DA2 #A27D86 #98A27D #7DA29A
split-complementary
#877DA2 #A29A7D #86A27D
monochromatic
#4C4560 #685E84 #877DA2 #A8A1BC #C9C4D5

Accessibility & contrast

On white

3.83
#877DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#877DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877DA2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877DA2#FFFFFF#000000##000000
##877DA21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7582A4
Deuteranopia (green-blind)
#7782A1
Tritanopia (blue-blind)
#82838A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #877da2;
/* rgb */ color: rgb(135, 125, 162);
/* oklch */ color: oklch(61.2% 0.056 297.1);
Tailwind
colors: {
  custom: {
    50: '#aaa2bd',
    500: '#877da2',
    950: '#000000',
  },
}
SCSS
$custom: #877da2;
$custom-light: #aaa2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#877da2",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 256.216,
    "s": 16.592,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61197,
    "c": 0.05633,
    "h": 297.1
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

primary
#877DA2
secondary
#C1C5B6
accent
#B96EA5
background
#FAFAFB
surface
#F4F3F6
border
#CECDD0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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