#811D87#811D87

#811D87 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.180 H 325.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#811D87
RGBrgb(129, 29, 135)
HSLhsl(297, 65%, 32%)
HSVhsv(297, 79%, 53%)
CMYKcmyk(4.4%, 78.5%, 0%, 47.1%)
CIE-LABlab(32.47, 54.28, -36.56)
CIE-LCHlch(32.47, 65.44, 326.04°)
OKLaboklab(44.17% 0.1483 -0.1018)
OKLCHoklch(44.17% 0.18 325.5)
XYZxyz(13.8655, 7.2961, 23.5949)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811D87 #23871D
analogous
#4C1D87 #811D87 #871D58
triadic
#811D87 #87811D #1D8781
tetradic
#811D87 #874C1D #23871D #1D5887
square
#811D87 #874C1D #23871D #1D5887
split-complementary
#811D87 #58871D #1D874C
monochromatic
#210722 #511255 #811D87 #B128B9 #CF47D7

Accessibility & contrast

On white

8.54
#811D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#811D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811D87
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811D87#FFFFFF#000000##FFFFFF
##811D871.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#355085
Tritanopia (blue-blind)
#843051
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #811d87;
/* rgb */ color: rgb(129, 29, 135);
/* oklch */ color: oklch(44.2% 0.180 325.5);
Tailwind
colors: {
  custom: {
    50: '#a966aa',
    500: '#811d87',
    950: '#000000',
  },
}
SCSS
$custom: #811d87;
$custom-light: #a966aa;
$custom-dark: #000000;
JSON
{
  "hex": "#811d87",
  "rgb": {
    "r": 129,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 296.604,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44166,
    "c": 0.17991,
    "h": 325.5
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#811D87
secondary
#4DB946
accent
#E8404A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811D87

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

Preview Lab → · Contrast checker → · Palette generator →

#811D87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva