#815C8A#815C8A

#815C8A is a mid, moderate purple. Relative luminance 0.142; OKLCH L 53.1% C 0.083 H 319.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#815C8A
RGBrgb(129, 92, 138)
HSLhsl(288, 20%, 45%)
HSVhsv(288, 33%, 54%)
CMYKcmyk(6.5%, 33.3%, 0%, 45.9%)
CIE-LABlab(44.46, 23.68, -19.61)
CIE-LCHlch(44.46, 30.74, 320.37°)
OKLaboklab(53.06% 0.0629 -0.0535)
OKLCHoklch(53.06% 0.083 319.6)
XYZxyz(17.4672, 14.1569, 25.8522)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815C8A #658A5C
analogous
#6A5C8A #815C8A #8A5C7C
triadic
#815C8A #8A815C #5C8A81
tetradic
#815C8A #8A6A5C #658A5C #5C7C8A
square
#815C8A #8A6A5C #658A5C #5C7C8A
split-complementary
#815C8A #7C8A5C #5C8A6A
monochromatic
#3C2B41 #5F4465 #815C8A #9F7CA7 #BAA0C0

Accessibility & contrast

On white

5.48
#815C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#815C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815C8A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815C8A#FFFFFF#000000##FFFFFF
##815C8A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56678C
Deuteranopia (green-blind)
#5F6A89
Tritanopia (blue-blind)
#82616D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #815c8a;
/* rgb */ color: rgb(129, 92, 138);
/* oklch */ color: oklch(53.1% 0.083 319.6);
Tailwind
colors: {
  custom: {
    50: '#a68aac',
    500: '#815c8a',
    950: '#000000',
  },
}
SCSS
$custom: #815c8a;
$custom-light: #a68aac;
$custom-dark: #000000;
JSON
{
  "hex": "#815c8a",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 288.261,
    "s": 20,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53059,
    "c": 0.0826,
    "h": 319.6
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#815C8A
secondary
#99AE94
accent
#BD6B7B
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #815C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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