#811C94#811C94

#811C94 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 45.0% C 0.192 H 320.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#811C94
RGBrgb(129, 28, 148)
HSLhsl(291, 68%, 35%)
HSVhsv(291, 81%, 58%)
CMYKcmyk(12.8%, 81.1%, 0%, 42%)
CIE-LABlab(33.21, 56.94, -43.39)
CIE-LCHlch(33.21, 71.59, 322.69°)
OKLaboklab(44.96% 0.1479 -0.1218)
OKLCHoklch(44.96% 0.192 320.5)
XYZxyz(14.8132, 7.6366, 28.7050)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C94 #2F941C
analogous
#451C94 #811C94 #941C6B
triadic
#811C94 #94811C #1C9481
tetradic
#811C94 #94451C #2F941C #1C6B94
square
#811C94 #94451C #2F941C #1C6B94
split-complementary
#811C94 #6B941C #1C9445
monochromatic
#27092D #541261 #811C94 #AE26C7 #C64DDD

Accessibility & contrast

On white

8.31
#811C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#811C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C94
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C94#FFFFFF#000000##FFFFFF
##811C941.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#2A5291
Tritanopia (blue-blind)
#823659
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #811c94;
/* rgb */ color: rgb(129, 28, 148);
/* oklch */ color: oklch(45.0% 0.192 320.5);
Tailwind
colors: {
  custom: {
    50: '#aa66b4',
    500: '#811c94',
    950: '#000000',
  },
}
SCSS
$custom: #811c94;
$custom-light: #aa66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#811c94",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 290.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44963,
    "c": 0.19158,
    "h": 320.5
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#811C94
secondary
#5EC04C
accent
#EB3D58
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #811C94

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

Preview Lab → · Contrast checker → · Palette generator →

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