#811E8B#811E8B

#811E8B is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.182 H 323.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#811E8B
RGBrgb(129, 30, 139)
HSLhsl(294, 64%, 33%)
HSVhsv(294, 78%, 55%)
CMYKcmyk(7.2%, 78.4%, 0%, 45.5%)
CIE-LABlab(32.83, 54.68, -38.46)
CIE-LCHlch(32.83, 66.85, 324.88°)
OKLaboklab(44.5% 0.1472 -0.1073)
OKLCHoklch(44.5% 0.182 323.9)
XYZxyz(14.1773, 7.4606, 25.1144)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E8B #288B1E
analogous
#4A1E8B #811E8B #8B1E5F
triadic
#811E8B #8B811E #1E8B81
tetradic
#811E8B #8B4A1E #288B1E #1E5F8B
square
#811E8B #8B4A1E #288B1E #1E5F8B
split-complementary
#811E8B #5F8B1E #1E8B4A
monochromatic
#240826 #521359 #811E8B #B029BD #CB4BD8

Accessibility & contrast

On white

8.43
#811E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#811E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811E8B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811E8B#FFFFFF#000000##FFFFFF
##811E8B1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#833354
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811e8b;
/* rgb */ color: rgb(129, 30, 139);
/* oklch */ color: oklch(44.5% 0.182 323.9);
Tailwind
colors: {
  custom: {
    50: '#a966ad',
    500: '#811e8b',
    950: '#000000',
  },
}
SCSS
$custom: #811e8b;
$custom-light: #a966ad;
$custom-dark: #000000;
JSON
{
  "hex": "#811e8b",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 294.495,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44504,
    "c": 0.18219,
    "h": 323.9
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#811E8B
secondary
#54BB4A
accent
#E74050
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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