#811C8D#811C8D

#811C8D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.186 H 323.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#811C8D
RGBrgb(129, 28, 141)
HSLhsl(294, 67%, 33%)
HSVhsv(294, 80%, 55%)
CMYKcmyk(8.5%, 80.1%, 0%, 44.7%)
CIE-LABlab(32.75, 55.66, -39.83)
CIE-LCHlch(32.75, 68.44, 324.41°)
OKLaboklab(44.49% 0.1487 -0.1113)
OKLCHoklch(44.49% 0.186 323.2)
XYZxyz(14.2758, 7.4216, 25.8747)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C8D #288D1C
analogous
#481C8D #811C8D #8D1C60
triadic
#811C8D #8D811C #1C8D81
tetradic
#811C8D #8D481C #288D1C #1C608D
square
#811C8D #8D481C #288D1C #1C608D
split-complementary
#811C8D #608D1C #1C8D48
monochromatic
#240827 #52125A #811C8D #B026C0 #CB49DB

Accessibility & contrast

On white

8.45
#811C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#811C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C8D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C8D#FFFFFF#000000##FFFFFF
##811C8D1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#30518A
Tritanopia (blue-blind)
#833355
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811c8d;
/* rgb */ color: rgb(129, 28, 141);
/* oklch */ color: oklch(44.5% 0.186 323.2);
Tailwind
colors: {
  custom: {
    50: '#a966af',
    500: '#811c8d',
    950: '#000000',
  },
}
SCSS
$custom: #811c8d;
$custom-light: #a966af;
$custom-dark: #000000;
JSON
{
  "hex": "#811c8d",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 293.628,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.18579,
    "h": 323.2
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#811C8D
secondary
#54BD48
accent
#EA3E50
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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