#811AA1#811AA1

#811AA1 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.8% C 0.204 H 316.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#811AA1
RGBrgb(129, 26, 161)
HSLhsl(286, 72%, 37%)
HSVhsv(286, 84%, 63%)
CMYKcmyk(19.9%, 83.9%, 0%, 36.9%)
CIE-LABlab(33.94, 59.98, -50.13)
CIE-LCHlch(33.94, 78.17, 320.11°)
OKLaboklab(45.76% 0.1471 -0.1415)
OKLCHoklch(45.76% 0.204 316.1)
XYZxyz(15.8547, 7.9798, 34.4164)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811AA1 #3AA11A
analogous
#3E1AA1 #811AA1 #A11A7E
triadic
#811AA1 #A1811A #1AA181
tetradic
#811AA1 #A13E1A #3AA11A #1A7EA1
square
#811AA1 #A13E1A #3AA11A #1A7EA1
split-complementary
#811AA1 #7EA11A #1AA13E
monochromatic
#2D0938 #57116C #811AA1 #AB23D6 #C152E3

Accessibility & contrast

On white

8.09
#811AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#811AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811AA1
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811AA1#FFFFFF#000000##FFFFFF
##811AA11.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#16529E
Tritanopia (blue-blind)
#7F3C60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811aa1;
/* rgb */ color: rgb(129, 26, 161);
/* oklch */ color: oklch(45.8% 0.204 316.1);
Tailwind
colors: {
  custom: {
    50: '#aa66be',
    500: '#811aa1',
    950: '#000000',
  },
}
SCSS
$custom: #811aa1;
$custom-light: #aa66be;
$custom-dark: #000000;
JSON
{
  "hex": "#811aa1",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 285.778,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.20414,
    "h": 316.1
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#811AA1
secondary
#6DC651
accent
#EF3964
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #811AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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