#811A9E#811A9E

#811A9E is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.5% C 0.202 H 317.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#811A9E
RGBrgb(129, 26, 158)
HSLhsl(287, 72%, 36%)
HSVhsv(287, 84%, 62%)
CMYKcmyk(18.4%, 83.5%, 0%, 38%)
CIE-LABlab(33.72, 59.40, -48.67)
CIE-LCHlch(33.72, 76.79, 320.67°)
OKLaboklab(45.54% 0.1477 -0.1372)
OKLCHoklch(45.54% 0.202 317.1)
XYZxyz(15.5933, 7.8752, 33.0398)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811A9E #379E1A
analogous
#3F1A9E #811A9E #9E1A79
triadic
#811A9E #9E811A #1A9E81
tetradic
#811A9E #9E3F1A #379E1A #1A799E
square
#811A9E #9E3F1A #379E1A #1A799E
split-complementary
#811A9E #799E1A #1A9E3F
monochromatic
#2B0935 #561169 #811A9E #AC23D3 #C250E2

Accessibility & contrast

On white

8.16
#811A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811A9E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811A9E#FFFFFF#000000##FFFFFF
##811A9E1.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#1C529B
Tritanopia (blue-blind)
#7F3A5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #811a9e;
/* rgb */ color: rgb(129, 26, 158);
/* oklch */ color: oklch(45.5% 0.202 317.1);
Tailwind
colors: {
  custom: {
    50: '#aa66bb',
    500: '#811a9e',
    950: '#000000',
  },
}
SCSS
$custom: #811a9e;
$custom-light: #aa66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#811a9e",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 286.818,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45542,
    "c": 0.20163,
    "h": 317.1
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#811A9E
secondary
#69C54F
accent
#EE3961
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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