#811F87#811F87

#811F87 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.178 H 325.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#811F87
RGBrgb(129, 31, 135)
HSLhsl(297, 63%, 33%)
HSVhsv(297, 77%, 53%)
CMYKcmyk(4.4%, 77%, 0%, 47.1%)
CIE-LABlab(32.69, 53.64, -36.20)
CIE-LCHlch(32.69, 64.71, 325.98°)
OKLaboklab(44.33% 0.1466 -0.1008)
OKLCHoklch(44.33% 0.178 325.5)
XYZxyz(13.9161, 7.3973, 23.6118)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F87 #25871F
analogous
#4D1F87 #811F87 #871F59
triadic
#811F87 #87811F #1F8781
tetradic
#811F87 #874D1F #25871F #1F5987
square
#811F87 #874D1F #25871F #1F5987
split-complementary
#811F87 #59871F #1F874D
monochromatic
#220823 #511455 #811F87 #B12AB9 #CE4BD6

Accessibility & contrast

On white

8.47
#811F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#811F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F87
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F87#FFFFFF#000000##FFFFFF
##811F871.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #811f87;
/* rgb */ color: rgb(129, 31, 135);
/* oklch */ color: oklch(44.3% 0.178 325.5);
Tailwind
colors: {
  custom: {
    50: '#a966aa',
    500: '#811f87',
    950: '#000000',
  },
}
SCSS
$custom: #811f87;
$custom-light: #a966aa;
$custom-dark: #000000;
JSON
{
  "hex": "#811f87",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 296.538,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44325,
    "c": 0.17786,
    "h": 325.5
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#811F87
secondary
#50B84A
accent
#E6424C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811F87

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

Preview Lab → · Contrast checker → · Palette generator →

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