#811B8B#811B8B

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

Color values

HEX#811B8B
RGBrgb(129, 27, 139)
HSLhsl(295, 67%, 33%)
HSVhsv(295, 81%, 55%)
CMYKcmyk(7.2%, 80.6%, 0%, 45.5%)
CIE-LABlab(32.52, 55.60, -38.97)
CIE-LCHlch(32.52, 67.89, 324.97°)
OKLaboklab(44.28% 0.1497 -0.1088)
OKLCHoklch(44.28% 0.185 324)
XYZxyz(14.1050, 7.3160, 25.0903)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B8B #258B1B
analogous
#491B8B #811B8B #8B1B5D
triadic
#811B8B #8B811B #1B8B81
tetradic
#811B8B #8B491B #258B1B #1B5D8B
square
#811B8B #8B491B #258B1B #1B5D8B
split-complementary
#811B8B #5D8B1B #1B8B49
monochromatic
#220725 #511158 #811B8B #B125BE #CE45DB

Accessibility & contrast

On white

8.53
#811B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#811B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B8B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B8B#FFFFFF#000000##FFFFFF
##811B8B1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.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: #811b8b;
/* rgb */ color: rgb(129, 27, 139);
/* oklch */ color: oklch(44.3% 0.185 324.0);
Tailwind
colors: {
  custom: {
    50: '#a965ad',
    500: '#811b8b',
    950: '#000000',
  },
}
SCSS
$custom: #811b8b;
$custom-light: #a965ad;
$custom-dark: #000000;
JSON
{
  "hex": "#811b8b",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 294.643,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44279,
    "c": 0.18508,
    "h": 324
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#811B8B
secondary
#50BC45
accent
#EA3D4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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