#811A8D#811A8D

#811A8D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.188 H 323.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#811A8D
RGBrgb(129, 26, 141)
HSLhsl(294, 69%, 33%)
HSVhsv(294, 82%, 55%)
CMYKcmyk(8.5%, 81.6%, 0%, 44.7%)
CIE-LABlab(32.55, 56.24, -40.16)
CIE-LCHlch(32.55, 69.11, 324.48°)
OKLaboklab(44.34% 0.1503 -0.1123)
OKLCHoklch(44.34% 0.188 323.2)
XYZxyz(14.2299, 7.3299, 25.8594)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811A8D #268D1A
analogous
#471A8D #811A8D #8D1A5F
triadic
#811A8D #8D811A #1A8D81
tetradic
#811A8D #8D471A #268D1A #1A5F8D
square
#811A8D #8D471A #268D1A #1A5F8D
split-complementary
#811A8D #5F8D1A #1A8D47
monochromatic
#220726 #521059 #811A8D #B024C1 #CD45DD

Accessibility & contrast

On white

8.52
#811A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811A8D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811A8D#FFFFFF#000000##FFFFFF
##811A8D1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#833254
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811a8d;
/* rgb */ color: rgb(129, 26, 141);
/* oklch */ color: oklch(44.3% 0.188 323.2);
Tailwind
colors: {
  custom: {
    50: '#a965af',
    500: '#811a8d',
    950: '#000000',
  },
}
SCSS
$custom: #811a8d;
$custom-light: #a965af;
$custom-dark: #000000;
JSON
{
  "hex": "#811a8d",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 293.739,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.18761,
    "h": 323.2
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#811A8D
secondary
#51BE45
accent
#EC3C4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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