#815B84#815B84

#815B84 is a mid, moderate purple. Relative luminance 0.138; OKLCH L 52.6% C 0.078 H 324.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#815B84
RGBrgb(129, 91, 132)
HSLhsl(296, 18%, 44%)
HSVhsv(296, 31%, 52%)
CMYKcmyk(2.3%, 31.1%, 0%, 48.2%)
CIE-LABlab(43.97, 23.00, -16.74)
CIE-LCHlch(43.97, 28.45, 323.95°)
OKLaboklab(52.61% 0.0628 -0.0454)
OKLCHoklch(52.61% 0.078 324.1)
XYZxyz(16.9587, 13.8158, 23.5987)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815B84 #5E845B
analogous
#6C5B84 #815B84 #845B72
triadic
#815B84 #84815B #5B8481
tetradic
#815B84 #846C5B #5E845B #5B7284
square
#815B84 #846C5B #5E845B #5B7284
split-complementary
#815B84 #72845B #5B846C
monochromatic
#3A293C #5E4260 #815B84 #A079A3 #BA9EBC

Accessibility & contrast

On white

5.58
#815B84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#815B84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815B84
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815B84#FFFFFF#000000##FFFFFF
##815B841.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576586
Deuteranopia (green-blind)
#606A83
Tritanopia (blue-blind)
#835F6A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #815b84;
/* rgb */ color: rgb(129, 91, 132);
/* oklch */ color: oklch(52.6% 0.078 324.1);
Tailwind
colors: {
  custom: {
    50: '#a68aa8',
    500: '#815b84',
    950: '#000000',
  },
}
SCSS
$custom: #815b84;
$custom-light: #a68aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#815b84",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 132
  },
  "hsl": {
    "h": 295.61,
    "s": 18.386,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52606,
    "c": 0.07751,
    "h": 324.1
  },
  "luminance": 0.13815
}

Semantic roles & 50–950 ramp

primary
#815B84
secondary
#93AA91
accent
#BB6D72
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#0F0B0F
muted
#7F7C7F

Preview Lab

Preview with #815B84

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

Preview Lab → · Contrast checker → · Palette generator →

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