#811D9C#811D9C

#811D9C is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.6% C 0.197 H 317.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#811D9C
RGBrgb(129, 29, 156)
HSLhsl(287, 69%, 36%)
HSVhsv(287, 81%, 61%)
CMYKcmyk(17.3%, 81.4%, 0%, 38.8%)
CIE-LABlab(33.87, 58.16, -47.21)
CIE-LCHlch(33.87, 74.91, 320.93°)
OKLaboklab(45.6% 0.1459 -0.133)
OKLCHoklch(45.6% 0.197 317.6)
XYZxyz(15.4925, 7.9469, 32.1639)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811D9C #389C1D
analogous
#421D9C #811D9C #9C1D78
triadic
#811D9C #9C811D #1D9C81
tetradic
#811D9C #9C421D #389C1D #1D789C
square
#811D9C #9C421D #389C1D #1D789C
split-complementary
#811D9C #789C1D #1D9C42
monochromatic
#2C0A35 #561368 #811D9C #AC27D0 #C254DF

Accessibility & contrast

On white

8.11
#811D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#811D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811D9C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811D9C#FFFFFF#000000##FFFFFF
##811D9C1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#215399
Tritanopia (blue-blind)
#803B5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811d9c;
/* rgb */ color: rgb(129, 29, 156);
/* oklch */ color: oklch(45.6% 0.197 317.6);
Tailwind
colors: {
  custom: {
    50: '#aa67ba',
    500: '#811d9c',
    950: '#000000',
  },
}
SCSS
$custom: #811d9c;
$custom-light: #aa67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#811d9c",
  "rgb": {
    "r": 129,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 287.244,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.19741,
    "h": 317.6
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#811D9C
secondary
#6AC252
accent
#EB3C62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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