#811C8B#811C8B

#811C8B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.184 H 324.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#811C8B
RGBrgb(129, 28, 139)
HSLhsl(295, 66%, 33%)
HSVhsv(295, 80%, 55%)
CMYKcmyk(7.2%, 79.9%, 0%, 45.5%)
CIE-LABlab(32.62, 55.30, -38.80)
CIE-LCHlch(32.62, 67.56, 324.94°)
OKLaboklab(44.35% 0.1489 -0.1083)
OKLCHoklch(44.35% 0.184 324)
XYZxyz(14.1283, 7.3626, 25.0981)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C8B #268B1C
analogous
#4A1C8B #811C8B #8B1C5D
triadic
#811C8B #8B811C #1C8B81
tetradic
#811C8B #8B4A1C #268B1C #1C5D8B
square
#811C8B #8B4A1C #268B1C #1C5D8B
split-complementary
#811C8B #5D8B1C #1C8B4A
monochromatic
#220725 #521258 #811C8B #B026BE #CD47DA

Accessibility & contrast

On white

8.49
#811C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#811C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C8B
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C8B#FFFFFF#000000##FFFFFF
##811C8B1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#325188
Tritanopia (blue-blind)
#833253
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811c8b;
/* rgb */ color: rgb(129, 28, 139);
/* oklch */ color: oklch(44.4% 0.184 324.0);
Tailwind
colors: {
  custom: {
    50: '#a965ad',
    500: '#811c8b',
    950: '#000000',
  },
}
SCSS
$custom: #811c8b;
$custom-light: #a965ad;
$custom-dark: #000000;
JSON
{
  "hex": "#811c8b",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 294.595,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44351,
    "c": 0.18414,
    "h": 324
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#811C8B
secondary
#51BC47
accent
#E93E4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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