#815D82#815D82

#815D82 is a mid, moderate purple. Relative luminance 0.141; OKLCH L 52.9% C 0.071 H 325.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#815D82
RGBrgb(129, 93, 130)
HSLhsl(298, 17%, 44%)
HSVhsv(298, 28%, 51%)
CMYKcmyk(0.8%, 28.5%, 0%, 49%)
CIE-LABlab(44.39, 21.40, -14.90)
CIE-LCHlch(44.39, 26.08, 325.16°)
OKLaboklab(52.9% 0.0589 -0.0403)
OKLCHoklch(52.9% 0.071 325.6)
XYZxyz(16.9965, 14.1081, 22.9426)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815D82 #5E825D
analogous
#6E5D82 #815D82 #825D70
triadic
#815D82 #82815D #5D8281
tetradic
#815D82 #826E5D #5E825D #5D7082
square
#815D82 #826E5D #5E825D #5D7082
split-complementary
#815D82 #70825D #5D826E
monochromatic
#3A2A3B #5E435E #815D82 #A07BA1 #BA9FBA

Accessibility & contrast

On white

5.50
#815D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#815D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815D82
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815D82#FFFFFF#000000##FFFFFF
##815D821.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6683
Deuteranopia (green-blind)
#636B81
Tritanopia (blue-blind)
#83606A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #815d82;
/* rgb */ color: rgb(129, 93, 130);
/* oklch */ color: oklch(52.9% 0.071 325.6);
Tailwind
colors: {
  custom: {
    50: '#a68ba6',
    500: '#815d82',
    950: '#000000',
  },
}
SCSS
$custom: #815d82;
$custom-light: #a68ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#815d82",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 130
  },
  "hsl": {
    "h": 298.378,
    "s": 16.592,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52901,
    "c": 0.07134,
    "h": 325.6
  },
  "luminance": 0.14108
}

Semantic roles & 50–950 ramp

primary
#815D82
secondary
#93A992
accent
#B96E71
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C0F
muted
#7F7D7F

Preview Lab

Preview with #815D82

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

Preview Lab → · Contrast checker → · Palette generator →

#815D82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva