#811C87#811C87

#811C87 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.181 H 325.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#811C87
RGBrgb(129, 28, 135)
HSLhsl(297, 66%, 32%)
HSVhsv(297, 79%, 53%)
CMYKcmyk(4.4%, 79.3%, 0%, 47.1%)
CIE-LABlab(32.36, 54.59, -36.73)
CIE-LCHlch(32.36, 65.80, 326.07°)
OKLaboklab(44.09% 0.1492 -0.1023)
OKLCHoklch(44.09% 0.181 325.6)
XYZxyz(13.8414, 7.2478, 23.5869)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C87 #22871C
analogous
#4C1C87 #811C87 #871C57
triadic
#811C87 #87811C #1C8781
tetradic
#811C87 #874C1C #22871C #1C5787
square
#811C87 #874C1C #22871C #1C5787
split-complementary
#811C87 #57871C #1C874C
monochromatic
#200722 #511154 #811C87 #B127BA #D045D8

Accessibility & contrast

On white

8.57
#811C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#811C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C87
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C87#FFFFFF#000000##FFFFFF
##811C871.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#355085
Tritanopia (blue-blind)
#843051
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #811c87;
/* rgb */ color: rgb(129, 28, 135);
/* oklch */ color: oklch(44.1% 0.181 325.6);
Tailwind
colors: {
  custom: {
    50: '#a965aa',
    500: '#811c87',
    950: '#000000',
  },
}
SCSS
$custom: #811c87;
$custom-light: #a965aa;
$custom-dark: #000000;
JSON
{
  "hex": "#811c87",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 296.636,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4409,
    "c": 0.1809,
    "h": 325.6
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#811C87
secondary
#4BBA45
accent
#E93F49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811C87

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

Preview Lab → · Contrast checker → · Palette generator →

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