#811E9A#811E9A

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

Color values

HEX#811E9A
RGBrgb(129, 30, 154)
HSLhsl(288, 67%, 36%)
HSVhsv(288, 81%, 60%)
CMYKcmyk(16.2%, 80.5%, 0%, 39.6%)
CIE-LABlab(33.84, 57.48, -46.05)
CIE-LCHlch(33.84, 73.65, 321.30°)
OKLaboklab(45.53% 0.1454 -0.1296)
OKLCHoklch(45.53% 0.195 318.3)
XYZxyz(15.3495, 7.9295, 31.2876)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E9A #379A1E
analogous
#431E9A #811E9A #9A1E75
triadic
#811E9A #9A811E #1E9A81
tetradic
#811E9A #9A431E #379A1E #1E759A
square
#811E9A #9A431E #379A1E #1E759A
split-complementary
#811E9A #759A1E #1E9A43
monochromatic
#2B0A34 #561467 #811E9A #AC28CD #C255DE

Accessibility & contrast

On white

8.12
#811E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#811E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811E9A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811E9A#FFFFFF#000000##FFFFFF
##811E9A1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#255397
Tritanopia (blue-blind)
#803A5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811e9a;
/* rgb */ color: rgb(129, 30, 154);
/* oklch */ color: oklch(45.5% 0.195 318.3);
Tailwind
colors: {
  custom: {
    50: '#aa67b8',
    500: '#811e9a',
    950: '#000000',
  },
}
SCSS
$custom: #811e9a;
$custom-light: #aa67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#811e9a",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 287.903,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45532,
    "c": 0.1948,
    "h": 318.3
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#811E9A
secondary
#69C153
accent
#EA3E60
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #811E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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