#811E7B#811E7B

#811E7B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.169 H 330.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#811E7B
RGBrgb(129, 30, 123)
HSLhsl(304, 62%, 31%)
HSVhsv(304, 77%, 51%)
CMYKcmyk(0%, 76.7%, 4.7%, 49.4%)
CIE-LABlab(31.87, 51.90, -30.01)
CIE-LCHlch(31.87, 59.95, 329.96°)
OKLaboklab(43.51% 0.1477 -0.0828)
OKLCHoklch(43.51% 0.169 330.7)
XYZxyz(13.0927, 7.0268, 19.4018)
Luminance0.0703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E7B #1E8124
analogous
#551E81 #811E7B #811E49
triadic
#811E7B #7B811E #1E7B81
tetradic
#811E7B #81551E #1E8124 #1E4981
square
#811E7B #81551E #1E8124 #1E4981
split-complementary
#811E7B #49811E #1E8155
monochromatic
#1E071C #4F124C #811E7B #B32AAA #D446CB

Accessibility & contrast

On white

8.73
#811E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#811E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811E7B
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811E7B#FFFFFF#000000##FFFFFF
##811E7B1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427E
Deuteranopia (green-blind)
#3D5079
Tritanopia (blue-blind)
#862B4B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811e7b;
/* rgb */ color: rgb(129, 30, 123);
/* oklch */ color: oklch(43.5% 0.169 330.7);
Tailwind
colors: {
  custom: {
    50: '#a965a1',
    500: '#811e7b',
    950: '#000000',
  },
}
SCSS
$custom: #811e7b;
$custom-light: #a965a1;
$custom-dark: #000000;
JSON
{
  "hex": "#811e7b",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 303.636,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.16927,
    "h": 330.7
  },
  "luminance": 0.07026
}

Semantic roles & 50–950 ramp

primary
#811E7B
secondary
#47B44D
accent
#E54C42
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #811E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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