#811C82#811C82

#811C82 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.177 H 327.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#811C82
RGBrgb(129, 28, 130)
HSLhsl(299, 65%, 31%)
HSVhsv(299, 78%, 51%)
CMYKcmyk(0.8%, 78.5%, 0%, 49%)
CIE-LABlab(32.06, 53.72, -34.10)
CIE-LCHlch(32.06, 63.63, 327.59°)
OKLaboklab(43.77% 0.1494 -0.0946)
OKLCHoklch(43.77% 0.177 327.7)
XYZxyz(13.4976, 7.1103, 21.7763)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C82 #1D821C
analogous
#4E1C82 #811C82 #821C50
triadic
#811C82 #82811C #1C8281
tetradic
#811C82 #824E1C #1D821C #1C5082
square
#811C82 #824E1C #1D821C #1C5082
split-complementary
#811C82 #50821C #1C824E
monochromatic
#1D061D #4F1150 #811C82 #B327B4 #D542D6

Accessibility & contrast

On white

8.67
#811C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#811C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C82
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C82#FFFFFF#000000##FFFFFF
##811C821.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#852D4E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811c82;
/* rgb */ color: rgb(129, 28, 130);
/* oklch */ color: oklch(43.8% 0.177 327.7);
Tailwind
colors: {
  custom: {
    50: '#a965a7',
    500: '#811c82',
    950: '#000000',
  },
}
SCSS
$custom: #811c82;
$custom-light: #a965a7;
$custom-dark: #000000;
JSON
{
  "hex": "#811c82",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 299.412,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43772,
    "c": 0.17688,
    "h": 327.7
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#811C82
secondary
#46B544
accent
#E84042
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811C82

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

Preview Lab → · Contrast checker → · Palette generator →

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