#811D9A#811D9A

#811D9A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.196 H 318.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#811D9A
RGBrgb(129, 29, 154)
HSLhsl(288, 68%, 36%)
HSVhsv(288, 81%, 60%)
CMYKcmyk(16.2%, 81.2%, 0%, 39.6%)
CIE-LABlab(33.73, 57.78, -46.22)
CIE-LCHlch(33.73, 73.99, 321.34°)
OKLaboklab(45.46% 0.1462 -0.1301)
OKLCHoklch(45.46% 0.196 318.3)
XYZxyz(15.3245, 7.8797, 31.2793)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811D9A #369A1D
analogous
#421D9A #811D9A #9A1D74
triadic
#811D9A #9A811D #1D9A81
tetradic
#811D9A #9A421D #369A1D #1D749A
square
#811D9A #9A421D #369A1D #1D749A
split-complementary
#811D9A #749A1D #1D9A42
monochromatic
#2B0A33 #561366 #811D9A #AC27CE #C353DF

Accessibility & contrast

On white

8.15
#811D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#811D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811D9A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811D9A#FFFFFF#000000##FFFFFF
##811D9A1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#245297
Tritanopia (blue-blind)
#803A5C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #811d9a;
/* rgb */ color: rgb(129, 29, 154);
/* oklch */ color: oklch(45.5% 0.196 318.3);
Tailwind
colors: {
  custom: {
    50: '#aa67b8',
    500: '#811d9a',
    950: '#000000',
  },
}
SCSS
$custom: #811d9a;
$custom-light: #aa67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#811d9a",
  "rgb": {
    "r": 129,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 288,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45458,
    "c": 0.19571,
    "h": 318.3
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#811D9A
secondary
#68C251
accent
#EB3D60
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #811D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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