#811A8E#811A8E

#811A8E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.188 H 322.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#811A8E
RGBrgb(129, 26, 142)
HSLhsl(293, 69%, 33%)
HSVhsv(293, 82%, 56%)
CMYKcmyk(9.2%, 81.7%, 0%, 44.3%)
CIE-LABlab(32.61, 56.42, -40.67)
CIE-LCHlch(32.61, 69.55, 324.22°)
OKLaboklab(44.41% 0.1502 -0.1138)
OKLCHoklch(44.41% 0.188 322.9)
XYZxyz(14.3047, 7.3598, 26.2531)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811A8E #278E1A
analogous
#471A8E #811A8E #8E1A61
triadic
#811A8E #8E811A #1A8E81
tetradic
#811A8E #8E471A #278E1A #1A618E
square
#811A8E #8E471A #278E1A #1A618E
split-complementary
#811A8E #618E1A #1A8E47
monochromatic
#230727 #52115A #811A8E #B023C2 #CC45DD

Accessibility & contrast

On white

8.50
#811A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#811A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811A8E
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811A8E#FFFFFF#000000##FFFFFF
##811A8E1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#2E518B
Tritanopia (blue-blind)
#833255
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811a8e;
/* rgb */ color: rgb(129, 26, 142);
/* oklch */ color: oklch(44.4% 0.188 322.9);
Tailwind
colors: {
  custom: {
    50: '#a965b0',
    500: '#811a8e',
    950: '#000000',
  },
}
SCSS
$custom: #811a8e;
$custom-light: #a965b0;
$custom-dark: #000000;
JSON
{
  "hex": "#811a8e",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 293.276,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4441,
    "c": 0.18842,
    "h": 322.9
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#811A8E
secondary
#53BE45
accent
#EC3C50
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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