#815E8A#815E8A

#815E8A is a mid, moderate purple. Relative luminance 0.145; OKLCH L 53.4% C 0.079 H 319.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#815E8A
RGBrgb(129, 94, 138)
HSLhsl(288, 19%, 45%)
HSVhsv(288, 32%, 54%)
CMYKcmyk(6.5%, 31.9%, 0%, 45.9%)
CIE-LABlab(44.95, 22.49, -18.85)
CIE-LCHlch(44.95, 29.34, 320.04°)
OKLaboklab(53.44% 0.0597 -0.0514)
OKLCHoklch(53.44% 0.079 319.3)
XYZxyz(17.6428, 14.5079, 25.9108)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815E8A #678A5E
analogous
#6B5E8A #815E8A #8A5E7D
triadic
#815E8A #8A815E #5E8A81
tetradic
#815E8A #8A6B5E #678A5E #5E7D8A
square
#815E8A #8A6B5E #678A5E #5E7D8A
split-complementary
#815E8A #7D8A5E #5E8A6B
monochromatic
#3D2C41 #5F4566 #815E8A #9F7EA7 #BAA2C0

Accessibility & contrast

On white

5.38
#815E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#815E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815E8A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815E8A#FFFFFF#000000##FFFFFF
##815E8A1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59688C
Deuteranopia (green-blind)
#616C89
Tritanopia (blue-blind)
#82636E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #815e8a;
/* rgb */ color: rgb(129, 94, 138);
/* oklch */ color: oklch(53.4% 0.079 319.3);
Tailwind
colors: {
  custom: {
    50: '#a68cac',
    500: '#815e8a',
    950: '#000000',
  },
}
SCSS
$custom: #815e8a;
$custom-light: #a68cac;
$custom-dark: #000000;
JSON
{
  "hex": "#815e8a",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 287.727,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.07875,
    "h": 319.3
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#815E8A
secondary
#9BAE96
accent
#BC6C7C
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #815E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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