#811E8A#811E8A

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

Color values

HEX#811E8A
RGBrgb(129, 30, 138)
HSLhsl(295, 64%, 33%)
HSVhsv(295, 78%, 54%)
CMYKcmyk(6.5%, 78.3%, 0%, 45.9%)
CIE-LABlab(32.77, 54.50, -37.94)
CIE-LCHlch(32.77, 66.41, 325.15°)
OKLaboklab(44.44% 0.1473 -0.1058)
OKLCHoklch(44.44% 0.181 324.3)
XYZxyz(14.1046, 7.4316, 24.7314)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E8A #278A1E
analogous
#4B1E8A #811E8A #8A1E5D
triadic
#811E8A #8A811E #1E8A81
tetradic
#811E8A #8A4B1E #278A1E #1E5D8A
square
#811E8A #8A4B1E #278A1E #1E5D8A
split-complementary
#811E8A #5D8A1E #1E8A4B
monochromatic
#230825 #521358 #811E8A #B029BC #CC4BD8

Accessibility & contrast

On white

8.45
#811E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811E8A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811E8A#FFFFFF#000000##FFFFFF
##811E8A1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#345187
Tritanopia (blue-blind)
#843253
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811e8a;
/* rgb */ color: rgb(129, 30, 138);
/* oklch */ color: oklch(44.4% 0.181 324.3);
Tailwind
colors: {
  custom: {
    50: '#a966ad',
    500: '#811e8a',
    950: '#000000',
  },
}
SCSS
$custom: #811e8a;
$custom-light: #a966ad;
$custom-dark: #000000;
JSON
{
  "hex": "#811e8a",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 295,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44438,
    "c": 0.18137,
    "h": 324.3
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#811E8A
secondary
#53BA4A
accent
#E7414E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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