#877197#877197

#877197 is a mid, moderate violet. Relative luminance 0.192; OKLCH L 58.3% C 0.062 H 310.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#877197
RGBrgb(135, 113, 151)
HSLhsl(275, 15%, 52%)
HSVhsv(275, 25%, 59%)
CMYKcmyk(10.6%, 25.2%, 0%, 40.8%)
CIE-LABlab(50.92, 16.14, -17.39)
CIE-LCHlch(50.92, 23.72, 312.87°)
OKLaboklab(58.31% 0.0407 -0.0473)
OKLCHoklch(58.31% 0.062 310.7)
XYZxyz(21.4818, 19.1957, 31.8456)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877197 #819771
analogous
#747197 #877197 #977194
triadic
#877197 #978771 #719787
tetradic
#877197 #977471 #819771 #719497
square
#877197 #977471 #819771 #719497
split-complementary
#877197 #949771 #719774
monochromatic
#493C52 #685675 #877197 #A594B1 #C3B8CB

Accessibility & contrast

On white

4.34
#877197 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#877197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877197
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877197#FFFFFF#000000##000000
##8771971.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7899
Deuteranopia (green-blind)
#707A96
Tritanopia (blue-blind)
#85767E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877197;
/* rgb */ color: rgb(135, 113, 151);
/* oklch */ color: oklch(58.3% 0.062 310.7);
Tailwind
colors: {
  custom: {
    50: '#aa9ab5',
    500: '#877197',
    950: '#000000',
  },
}
SCSS
$custom: #877197;
$custom-light: #aa9ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#877197",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 274.737,
    "s": 15.447,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58312,
    "c": 0.0624,
    "h": 310.7
  },
  "luminance": 0.19196
}

Semantic roles & 50–950 ramp

primary
#877197
secondary
#B1BAAA
accent
#B8708E
background
#FAF9FB
surface
#F4F2F6
border
#CECCD0
text
#100E11
muted
#7F7E80

Preview Lab

Preview with #877197

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

Preview Lab → · Contrast checker → · Palette generator →

#877197 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva