#877FA2#877FA2

#877FA2 is a mid, muted violet. Relative luminance 0.229; OKLCH L 61.6% C 0.053 H 295.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#877FA2
RGBrgb(135, 127, 162)
HSLhsl(254, 16%, 57%)
HSVhsv(254, 22%, 64%)
CMYKcmyk(16.7%, 21.6%, 0%, 36.5%)
CIE-LABlab(55.01, 10.40, -17.55)
CIE-LCHlch(55.01, 20.40, 300.65°)
OKLaboklab(61.61% 0.0226 -0.0479)
OKLCHoklch(61.61% 0.053 295.3)
XYZxyz(24.1012, 22.9381, 37.3332)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877FA2 #9AA27F
analogous
#7F89A2 #877FA2 #997FA2
triadic
#877FA2 #A2877F #7FA287
tetradic
#877FA2 #A27F89 #9AA27F #7FA299
square
#877FA2 #A27F89 #9AA27F #7FA299
split-complementary
#877FA2 #A2997F #89A27F
monochromatic
#4C4660 #686084 #877FA2 #A8A2BC #C9C6D6

Accessibility & contrast

On white

3.76
#877FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#877FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877FA2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877FA2#FFFFFF#000000##000000
##877FA21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A4
Deuteranopia (green-blind)
#7883A1
Tritanopia (blue-blind)
#82848B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #877fa2;
/* rgb */ color: rgb(135, 127, 162);
/* oklch */ color: oklch(61.6% 0.053 295.3);
Tailwind
colors: {
  custom: {
    50: '#aaa4bd',
    500: '#877fa2',
    950: '#000000',
  },
}
SCSS
$custom: #877fa2;
$custom-light: #aaa4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#877fa2",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 253.714,
    "s": 15.837,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61609,
    "c": 0.05296,
    "h": 295.3
  },
  "luminance": 0.22938
}

Semantic roles & 50–950 ramp

primary
#877FA2
secondary
#C2C6B7
accent
#B96FA8
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#100F12
muted
#7F7F81

Preview Lab

Preview with #877FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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