#811E7E#811E7E

#811E7E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.172 H 329.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#811E7E
RGBrgb(129, 30, 126)
HSLhsl(302, 62%, 31%)
HSVhsv(302, 77%, 51%)
CMYKcmyk(0%, 76.7%, 2.3%, 49.4%)
CIE-LABlab(32.04, 52.40, -31.63)
CIE-LCHlch(32.04, 61.21, 328.89°)
OKLaboklab(43.68% 0.1477 -0.0874)
OKLCHoklch(43.68% 0.172 329.4)
XYZxyz(13.2833, 7.1030, 20.4060)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E7E #1E8121
analogous
#521E81 #811E7E #811E4C
triadic
#811E7E #7E811E #1E7E81
tetradic
#811E7E #81521E #1E8121 #1E4C81
square
#811E7E #81521E #1E8121 #1E4C81
split-complementary
#811E7E #4C811E #1E8152
monochromatic
#1E071D #4F124E #811E7E #B32AAE #D446D0

Accessibility & contrast

On white

8.68
#811E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811E7E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811E7E#FFFFFF#000000##FFFFFF
##811E7E1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#862C4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811e7e;
/* rgb */ color: rgb(129, 30, 126);
/* oklch */ color: oklch(43.7% 0.172 329.4);
Tailwind
colors: {
  custom: {
    50: '#a966a4',
    500: '#811e7e',
    950: '#000000',
  },
}
SCSS
$custom: #811e7e;
$custom-light: #a966a4;
$custom-dark: #000000;
JSON
{
  "hex": "#811e7e",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 301.818,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43684,
    "c": 0.17164,
    "h": 329.4
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

primary
#811E7E
secondary
#47B44A
accent
#E54742
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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