#811E7D#811E7D

#811E7D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.171 H 329.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#811E7D
RGBrgb(129, 30, 125)
HSLhsl(302, 62%, 31%)
HSVhsv(302, 77%, 51%)
CMYKcmyk(0%, 76.7%, 3.1%, 49.4%)
CIE-LABlab(31.98, 52.23, -31.09)
CIE-LCHlch(31.98, 60.79, 329.24°)
OKLaboklab(43.62% 0.1477 -0.0859)
OKLCHoklch(43.62% 0.171 329.8)
XYZxyz(13.2191, 7.0774, 20.0679)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E7D #1E8122
analogous
#531E81 #811E7D #811E4B
triadic
#811E7D #7D811E #1E7D81
tetradic
#811E7D #81531E #1E8122 #1E4B81
square
#811E7D #81531E #1E8122 #1E4B81
split-complementary
#811E7D #4B811E #1E8153
monochromatic
#1E071D #4F124D #811E7D #B32AAD #D446CE

Accessibility & contrast

On white

8.69
#811E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#811E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811E7D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811E7D#FFFFFF#000000##FFFFFF
##811E7D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104380
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#862C4C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811e7d;
/* rgb */ color: rgb(129, 30, 125);
/* oklch */ color: oklch(43.6% 0.171 329.8);
Tailwind
colors: {
  custom: {
    50: '#a966a3',
    500: '#811e7d',
    950: '#000000',
  },
}
SCSS
$custom: #811e7d;
$custom-light: #a966a3;
$custom-dark: #000000;
JSON
{
  "hex": "#811e7d",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 302.424,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43624,
    "c": 0.17085,
    "h": 329.8
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#811E7D
secondary
#47B44B
accent
#E54942
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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