#811AA4#811AA4

#811AA4 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 46.0% C 0.207 H 315.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#811AA4
RGBrgb(129, 26, 164)
HSLhsl(285, 73%, 37%)
HSVhsv(285, 84%, 64%)
CMYKcmyk(21.3%, 84.1%, 0%, 35.7%)
CIE-LABlab(34.16, 60.56, -51.59)
CIE-LCHlch(34.16, 79.55, 319.57°)
OKLaboklab(45.99% 0.1465 -0.1458)
OKLCHoklch(45.99% 0.207 315.1)
XYZxyz(16.1224, 8.0869, 35.8264)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811AA4 #3DA41A
analogous
#3C1AA4 #811AA4 #A41A82
triadic
#811AA4 #A4811A #1AA481
tetradic
#811AA4 #A43C1A #3DA41A #1A82A4
square
#811AA4 #A43C1A #3DA41A #1A82A4
split-complementary
#811AA4 #82A41A #1AA43C
monochromatic
#2E093A #57126F #811AA4 #AB22D9 #C054E4

Accessibility & contrast

On white

8.02
#811AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#811AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811AA4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811AA4#FFFFFF#000000##FFFFFF
##811AA41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0F53A1
Tritanopia (blue-blind)
#7E3D62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811aa4;
/* rgb */ color: rgb(129, 26, 164);
/* oklch */ color: oklch(46.0% 0.207 315.1);
Tailwind
colors: {
  custom: {
    50: '#aa66c0',
    500: '#811aa4',
    950: '#000000',
  },
}
SCSS
$custom: #811aa4;
$custom-light: #aa66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#811aa4",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 164
  },
  "hsl": {
    "h": 284.783,
    "s": 72.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4599,
    "c": 0.20667,
    "h": 315.1
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#811AA4
secondary
#70C753
accent
#EF3867
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #811AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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