#811A87#811A87

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

Color values

HEX#811A87
RGBrgb(129, 26, 135)
HSLhsl(297, 68%, 32%)
HSVhsv(297, 81%, 53%)
CMYKcmyk(4.4%, 80.7%, 0%, 47.1%)
CIE-LABlab(32.16, 55.18, -37.06)
CIE-LCHlch(32.16, 66.47, 326.12°)
OKLaboklab(43.94% 0.1508 -0.1032)
OKLCHoklch(43.94% 0.183 325.6)
XYZxyz(13.7955, 7.1561, 23.5716)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811A87 #20871A
analogous
#4B1A87 #811A87 #871A57
triadic
#811A87 #87811A #1A8781
tetradic
#811A87 #874B1A #20871A #1A5787
square
#811A87 #874B1A #20871A #1A5787
split-complementary
#811A87 #57871A #1A874B
monochromatic
#1F0620 #501054 #811A87 #B224BA #D241DA

Accessibility & contrast

On white

8.64
#811A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#811A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811A87
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811A87#FFFFFF#000000##FFFFFF
##811A871.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.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: #811a87;
/* rgb */ color: rgb(129, 26, 135);
/* oklch */ color: oklch(43.9% 0.183 325.6);
Tailwind
colors: {
  custom: {
    50: '#a965aa',
    500: '#811a87',
    950: '#000000',
  },
}
SCSS
$custom: #811a87;
$custom-light: #a965aa;
$custom-dark: #000000;
JSON
{
  "hex": "#811a87",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 296.697,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43944,
    "c": 0.18278,
    "h": 325.6
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#811A87
secondary
#49BA42
accent
#EB3D47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811A87

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

Preview Lab → · Contrast checker → · Palette generator →

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