#811C9D#811C9D

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

Color values

HEX#811C9D
RGBrgb(129, 28, 157)
HSLhsl(287, 70%, 36%)
HSVhsv(287, 82%, 62%)
CMYKcmyk(17.8%, 82.2%, 0%, 38.4%)
CIE-LABlab(33.84, 58.65, -47.87)
CIE-LCHlch(33.84, 75.70, 320.78°)
OKLaboklab(45.6% 0.1465 -0.1349)
OKLCHoklch(45.6% 0.199 317.4)
XYZxyz(15.5534, 7.9327, 32.6036)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C9D #389D1C
analogous
#411C9D #811C9D #9D1C79
triadic
#811C9D #9D811C #1C9D81
tetradic
#811C9D #9D411C #389D1C #1C799D
square
#811C9D #9D411C #389D1C #1C799D
split-complementary
#811C9D #799D1C #1C9D41
monochromatic
#2C0935 #561369 #811C9D #AC25D1 #C253E0

Accessibility & contrast

On white

8.12
#811C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811C9D
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C9D#FFFFFF#000000##FFFFFF
##811C9D1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#1F529A
Tritanopia (blue-blind)
#803B5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811c9d;
/* rgb */ color: rgb(129, 28, 157);
/* oklch */ color: oklch(45.6% 0.199 317.4);
Tailwind
colors: {
  custom: {
    50: '#aa66bb',
    500: '#811c9d',
    950: '#000000',
  },
}
SCSS
$custom: #811c9d;
$custom-light: #aa66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#811c9d",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 286.977,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.19913,
    "h": 317.4
  },
  "luminance": 0.07932
}

Semantic roles & 50–950 ramp

primary
#811C9D
secondary
#6AC351
accent
#ED3B62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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