#815D8D#815D8D

#815D8D is a mid, moderate purple. Relative luminance 0.144; OKLCH L 53.4% C 0.084 H 317.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#815D8D
RGBrgb(129, 93, 141)
HSLhsl(285, 21%, 46%)
HSVhsv(285, 34%, 55%)
CMYKcmyk(8.5%, 34%, 0%, 44.7%)
CIE-LABlab(44.83, 23.74, -20.84)
CIE-LCHlch(44.83, 31.59, 318.72°)
OKLaboklab(53.38% 0.0621 -0.057)
OKLCHoklch(53.38% 0.084 317.5)
XYZxyz(17.7746, 14.4193, 27.0410)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815D8D #698D5D
analogous
#695D8D #815D8D #8D5D81
triadic
#815D8D #8D815D #5D8D81
tetradic
#815D8D #8D695D #698D5D #5D818D
square
#815D8D #8D695D #698D5D #5D818D
split-complementary
#815D8D #818D5D #5D8D69
monochromatic
#3E2C43 #5F4568 #815D8D #9F7EAA #BAA2C2

Accessibility & contrast

On white

5.41
#815D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#815D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815D8D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815D8D#FFFFFF#000000##FFFFFF
##815D8D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56688F
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#81636F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #815d8d;
/* rgb */ color: rgb(129, 93, 141);
/* oklch */ color: oklch(53.4% 0.084 317.5);
Tailwind
colors: {
  custom: {
    50: '#a68bae',
    500: '#815d8d',
    950: '#000000',
  },
}
SCSS
$custom: #815d8d;
$custom-light: #a68bae;
$custom-dark: #000000;
JSON
{
  "hex": "#815d8d",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 285,
    "s": 20.513,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.08432,
    "h": 317.5
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#815D8D
secondary
#9CB096
accent
#BD6B7F
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #815D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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