#811C77#811C77

#811C77 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.168 H 332.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#811C77
RGBrgb(129, 28, 119)
HSLhsl(306, 64%, 31%)
HSVhsv(306, 78%, 51%)
CMYKcmyk(0%, 78.3%, 7.8%, 49.4%)
CIE-LABlab(31.42, 51.89, -28.20)
CIE-LCHlch(31.42, 59.06, 331.48°)
OKLaboklab(43.11% 0.1494 -0.0775)
OKLCHoklch(43.11% 0.168 332.6)
XYZxyz(12.7983, 6.8306, 18.0936)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C77 #1C8126
analogous
#581C81 #811C77 #811C44
triadic
#811C77 #77811C #1C7781
tetradic
#811C77 #81581C #1C8126 #1C4481
square
#811C77 #81581C #1C8126 #1C4481
split-complementary
#811C77 #44811C #1C8158
monochromatic
#1C061A #4F1149 #811C77 #B327A5 #D642C7

Accessibility & contrast

On white

8.88
#811C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#811C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C77
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C77#FFFFFF#000000##FFFFFF
##811C771.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#3E4F75
Tritanopia (blue-blind)
#872848
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #811c77;
/* rgb */ color: rgb(129, 28, 119);
/* oklch */ color: oklch(43.1% 0.168 332.6);
Tailwind
colors: {
  custom: {
    50: '#a9659e',
    500: '#811c77',
    950: '#000000',
  },
}
SCSS
$custom: #811c77;
$custom-light: #a9659e;
$custom-dark: #000000;
JSON
{
  "hex": "#811c77",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 305.941,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4311,
    "c": 0.16831,
    "h": 332.6
  },
  "luminance": 0.0683
}

Semantic roles & 50–950 ramp

primary
#811C77
secondary
#44B44F
accent
#E75140
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #811C77

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

Preview Lab → · Contrast checker → · Palette generator →

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