#816B8A#816B8A

#816B8A is a mid, muted purple. Relative luminance 0.170; OKLCH L 56.0% C 0.054 H 316.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#816B8A
RGBrgb(129, 107, 138)
HSLhsl(283, 13%, 48%)
HSVhsv(283, 22%, 54%)
CMYKcmyk(6.5%, 22.5%, 0%, 45.9%)
CIE-LABlab(48.28, 14.75, -13.77)
CIE-LCHlch(48.28, 20.18, 316.97°)
OKLaboklab(55.99% 0.0386 -0.0372)
OKLCHoklch(55.99% 0.054 316.1)
XYZxyz(18.8977, 17.0178, 26.3291)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816B8A #748A6B
analogous
#716B8A #816B8A #8A6B83
triadic
#816B8A #8A816B #6B8A81
tetradic
#816B8A #8A716B #748A6B #6B838A
square
#816B8A #8A716B #748A6B #6B838A
split-complementary
#816B8A #838A6B #6B8A71
monochromatic
#413645 #615068 #816B8A #9F8CA6 #BBAFC1

Accessibility & contrast

On white

4.77
#816B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#816B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816B8A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816B8A#FFFFFF#000000##FFFFFF
##816B8A1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67718B
Deuteranopia (green-blind)
#6C7389
Tritanopia (blue-blind)
#816E76
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #816b8a;
/* rgb */ color: rgb(129, 107, 138);
/* oklch */ color: oklch(56.0% 0.054 316.1);
Tailwind
colors: {
  custom: {
    50: '#a595ac',
    500: '#816b8a',
    950: '#000000',
  },
}
SCSS
$custom: #816b8a;
$custom-light: #a595ac;
$custom-dark: #000000;
JSON
{
  "hex": "#816b8a",
  "rgb": {
    "r": 129,
    "g": 107,
    "b": 138
  },
  "hsl": {
    "h": 282.581,
    "s": 12.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.05368,
    "h": 316.1
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

primary
#816B8A
secondary
#A5B0A1
accent
#B67286
background
#FAF9FA
surface
#F4F1F4
border
#CECBCE
text
#0F0D10
muted
#7F7E7F

Preview Lab

Preview with #816B8A

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

Preview Lab → · Contrast checker → · Palette generator →

#816B8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva