#811E7A#811E7A

#811E7A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.168 H 331.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#811E7A
RGBrgb(129, 30, 122)
HSLhsl(304, 62%, 31%)
HSVhsv(304, 77%, 51%)
CMYKcmyk(0%, 76.7%, 5.4%, 49.4%)
CIE-LABlab(31.81, 51.73, -29.47)
CIE-LCHlch(31.81, 59.54, 330.33°)
OKLaboklab(43.45% 0.1476 -0.0812)
OKLCHoklch(43.45% 0.168 331.2)
XYZxyz(13.0304, 7.0019, 19.0738)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E7A #1E8125
analogous
#561E81 #811E7A #811E48
triadic
#811E7A #7A811E #1E7A81
tetradic
#811E7A #81561E #1E8125 #1E4881
square
#811E7A #81561E #1E8125 #1E4881
split-complementary
#811E7A #48811E #1E8156
monochromatic
#1E071C #4F124B #811E7A #B32AA9 #D446CA

Accessibility & contrast

On white

8.75
#811E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#811E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811E7A
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811E7A#FFFFFF#000000##FFFFFF
##811E7A1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427C
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#862A4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811e7a;
/* rgb */ color: rgb(129, 30, 122);
/* oklch */ color: oklch(43.4% 0.168 331.2);
Tailwind
colors: {
  custom: {
    50: '#a965a1',
    500: '#811e7a',
    950: '#000000',
  },
}
SCSS
$custom: #811e7a;
$custom-light: #a965a1;
$custom-dark: #000000;
JSON
{
  "hex": "#811e7a",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 304.242,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43446,
    "c": 0.16849,
    "h": 331.2
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#811E7A
secondary
#47B44E
accent
#E54E42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #811E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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