#811C9F#811C9F

#811C9F is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.8% C 0.201 H 316.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#811C9F
RGBrgb(129, 28, 159)
HSLhsl(286, 70%, 37%)
HSVhsv(286, 82%, 62%)
CMYKcmyk(18.9%, 82.4%, 0%, 37.6%)
CIE-LABlab(33.99, 59.03, -48.85)
CIE-LCHlch(33.99, 76.62, 320.39°)
OKLaboklab(45.75% 0.1461 -0.1378)
OKLCHoklch(45.75% 0.201 316.7)
XYZxyz(15.7256, 8.0015, 33.5103)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C9F #3A9F1C
analogous
#401C9F #811C9F #9F1C7B
triadic
#811C9F #9F811C #1C9F81
tetradic
#811C9F #9F401C #3A9F1C #1C7B9F
square
#811C9F #9F401C #3A9F1C #1C7B9F
split-complementary
#811C9F #7B9F1C #1C9F40
monochromatic
#2D0A37 #57136B #811C9F #AB25D3 #C154E1

Accessibility & contrast

On white

8.08
#811C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#811C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C9F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C9F#FFFFFF#000000##FFFFFF
##811C9F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#1C539C
Tritanopia (blue-blind)
#7F3C5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811c9f;
/* rgb */ color: rgb(129, 28, 159);
/* oklch */ color: oklch(45.8% 0.201 316.7);
Tailwind
colors: {
  custom: {
    50: '#aa66bc',
    500: '#811c9f',
    950: '#000000',
  },
}
SCSS
$custom: #811c9f;
$custom-light: #aa66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#811c9f",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 286.26,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.20082,
    "h": 316.7
  },
  "luminance": 0.08001
}

Semantic roles & 50–950 ramp

primary
#811C9F
secondary
#6DC453
accent
#ED3B64
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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