#815C8D#815C8D

#815C8D is a mid, moderate purple. Relative luminance 0.142; OKLCH L 53.2% C 0.086 H 317.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#815C8D
RGBrgb(129, 92, 141)
HSLhsl(285, 21%, 46%)
HSVhsv(285, 35%, 55%)
CMYKcmyk(8.5%, 34.8%, 0%, 44.7%)
CIE-LABlab(44.58, 24.33, -21.22)
CIE-LCHlch(44.58, 32.28, 318.91°)
OKLaboklab(53.2% 0.0638 -0.0581)
OKLCHoklch(53.2% 0.086 317.7)
XYZxyz(17.6874, 14.2449, 27.0119)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815C8D #688D5C
analogous
#685C8D #815C8D #8D5C80
triadic
#815C8D #8D815C #5C8D81
tetradic
#815C8D #8D685C #688D5C #5C808D
square
#815C8D #8D685C #688D5C #5C808D
split-complementary
#815C8D #808D5C #5C8D68
monochromatic
#3D2C43 #5F4468 #815C8D #9F7CAA #BAA1C2

Accessibility & contrast

On white

5.46
#815C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#815C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815C8D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815C8D#FFFFFF#000000##FFFFFF
##815C8D1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#81626E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #815c8d;
/* rgb */ color: rgb(129, 92, 141);
/* oklch */ color: oklch(53.2% 0.086 317.7);
Tailwind
colors: {
  custom: {
    50: '#a68aae',
    500: '#815c8d',
    950: '#000000',
  },
}
SCSS
$custom: #815c8d;
$custom-light: #a68aae;
$custom-dark: #000000;
JSON
{
  "hex": "#815c8d",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 285.306,
    "s": 21.03,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53195,
    "c": 0.08623,
    "h": 317.7
  },
  "luminance": 0.14245
}

Semantic roles & 50–950 ramp

primary
#815C8D
secondary
#9BB095
accent
#BE6A7F
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #815C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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