#811A8B#811A8B

#811A8B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.186 H 324.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#811A8B
RGBrgb(129, 26, 139)
HSLhsl(295, 68%, 32%)
HSVhsv(295, 81%, 55%)
CMYKcmyk(7.2%, 81.3%, 0%, 45.5%)
CIE-LABlab(32.42, 55.89, -39.13)
CIE-LCHlch(32.42, 68.22, 325.00°)
OKLaboklab(44.21% 0.1505 -0.1093)
OKLCHoklch(44.21% 0.186 324)
XYZxyz(14.0825, 7.2709, 25.0828)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811A8B #248B1A
analogous
#481A8B #811A8B #8B1A5D
triadic
#811A8B #8B811A #1A8B81
tetradic
#811A8B #8B481A #248B1A #1A5D8B
square
#811A8B #8B481A #248B1A #1A5D8B
split-complementary
#811A8B #5D8B1A #1A8B48
monochromatic
#210724 #511057 #811A8B #B124BF #CE43DC

Accessibility & contrast

On white

8.56
#811A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811A8B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811A8B#FFFFFF#000000##FFFFFF
##811A8B1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#315088
Tritanopia (blue-blind)
#833153
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #811a8b;
/* rgb */ color: rgb(129, 26, 139);
/* oklch */ color: oklch(44.2% 0.186 324.0);
Tailwind
colors: {
  custom: {
    50: '#a965ad',
    500: '#811a8b',
    950: '#000000',
  },
}
SCSS
$custom: #811a8b;
$custom-light: #a965ad;
$custom-dark: #000000;
JSON
{
  "hex": "#811a8b",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 294.69,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44208,
    "c": 0.186,
    "h": 324
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#811A8B
secondary
#4EBD44
accent
#EB3C4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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