#811B87#811B87

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

Color values

HEX#811B87
RGBrgb(129, 27, 135)
HSLhsl(297, 67%, 32%)
HSVhsv(297, 80%, 53%)
CMYKcmyk(4.4%, 80%, 0%, 47.1%)
CIE-LABlab(32.26, 54.89, -36.89)
CIE-LCHlch(32.26, 66.14, 326.09°)
OKLaboklab(44.02% 0.15 -0.1028)
OKLCHoklch(44.02% 0.182 325.6)
XYZxyz(13.8181, 7.2012, 23.5791)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B87 #21871B
analogous
#4B1B87 #811B87 #871B57
triadic
#811B87 #87811B #1B8781
tetradic
#811B87 #874B1B #21871B #1B5787
square
#811B87 #874B1B #21871B #1B5787
split-complementary
#811B87 #57871B #1B874B
monochromatic
#200721 #501154 #811B87 #B225BA #D143D9

Accessibility & contrast

On white

8.61
#811B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#811B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B87
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B87#FFFFFF#000000##FFFFFF
##811B871.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#345084
Tritanopia (blue-blind)
#842F51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #811b87;
/* rgb */ color: rgb(129, 27, 135);
/* oklch */ color: oklch(44.0% 0.182 325.6);
Tailwind
colors: {
  custom: {
    50: '#a965aa',
    500: '#811b87',
    950: '#000000',
  },
}
SCSS
$custom: #811b87;
$custom-light: #a965aa;
$custom-dark: #000000;
JSON
{
  "hex": "#811b87",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 296.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44016,
    "c": 0.18185,
    "h": 325.6
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#811B87
secondary
#4ABA44
accent
#EA3E48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811B87

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

Preview Lab → · Contrast checker → · Palette generator →

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