#811E87#811E87

#811E87 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.179 H 325.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#811E87
RGBrgb(129, 30, 135)
HSLhsl(297, 64%, 32%)
HSVhsv(297, 78%, 53%)
CMYKcmyk(4.4%, 77.8%, 0%, 47.1%)
CIE-LABlab(32.58, 53.96, -36.38)
CIE-LCHlch(32.58, 65.08, 326.01°)
OKLaboklab(44.24% 0.1475 -0.1013)
OKLCHoklch(44.24% 0.179 325.5)
XYZxyz(13.8904, 7.3459, 23.6033)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E87 #24871E
analogous
#4C1E87 #811E87 #871E59
triadic
#811E87 #87811E #1E8781
tetradic
#811E87 #874C1E #24871E #1E5987
square
#811E87 #874C1E #24871E #1E5987
split-complementary
#811E87 #59871E #1E874C
monochromatic
#210823 #511355 #811E87 #B129B9 #CE49D7

Accessibility & contrast

On white

8.51
#811E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#811E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811E87
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811E87#FFFFFF#000000##FFFFFF
##811E871.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#365185
Tritanopia (blue-blind)
#843152
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811e87;
/* rgb */ color: rgb(129, 30, 135);
/* oklch */ color: oklch(44.2% 0.179 325.5);
Tailwind
colors: {
  custom: {
    50: '#a966aa',
    500: '#811e87',
    950: '#000000',
  },
}
SCSS
$custom: #811e87;
$custom-light: #a966aa;
$custom-dark: #000000;
JSON
{
  "hex": "#811e87",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 296.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44244,
    "c": 0.1789,
    "h": 325.5
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#811E87
secondary
#4EB948
accent
#E7414B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811E87

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

Preview Lab → · Contrast checker → · Palette generator →

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