#815F8A#815F8A

#815F8A is a mid, moderate purple. Relative luminance 0.147; OKLCH L 53.6% C 0.077 H 319.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#815F8A
RGBrgb(129, 95, 138)
HSLhsl(287, 18%, 46%)
HSVhsv(287, 31%, 54%)
CMYKcmyk(6.5%, 31.2%, 0%, 45.9%)
CIE-LABlab(45.20, 21.90, -18.46)
CIE-LCHlch(45.20, 28.64, 319.86°)
OKLaboklab(53.63% 0.0581 -0.0503)
OKLCHoklch(53.63% 0.077 319.1)
XYZxyz(17.7323, 14.6869, 25.9406)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815F8A #688A5F
analogous
#6B5F8A #815F8A #8A5F7D
triadic
#815F8A #8A815F #5F8A81
tetradic
#815F8A #8A6B5F #688A5F #5F7D8A
square
#815F8A #8A6B5F #688A5F #5F7D8A
split-complementary
#815F8A #7D8A5F #5F8A6B
monochromatic
#3D2D42 #5F4666 #815F8A #9F7FA7 #BAA3C0

Accessibility & contrast

On white

5.33
#815F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#815F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815F8A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815F8A#FFFFFF#000000##FFFFFF
##815F8A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A698C
Deuteranopia (green-blind)
#626C89
Tritanopia (blue-blind)
#82646E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #815f8a;
/* rgb */ color: rgb(129, 95, 138);
/* oklch */ color: oklch(53.6% 0.077 319.1);
Tailwind
colors: {
  custom: {
    50: '#a68dac',
    500: '#815f8a',
    950: '#000000',
  },
}
SCSS
$custom: #815f8a;
$custom-light: #a68dac;
$custom-dark: #000000;
JSON
{
  "hex": "#815f8a",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 287.442,
    "s": 18.455,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.07683,
    "h": 319.1
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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