#811786#811786

#811786 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.185 H 326.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#811786
RGBrgb(129, 23, 134)
HSLhsl(297, 71%, 31%)
HSVhsv(297, 83%, 53%)
CMYKcmyk(3.7%, 82.8%, 0%, 47.5%)
CIE-LABlab(31.81, 55.83, -36.99)
CIE-LCHlch(31.81, 66.98, 326.48°)
OKLaboklab(43.68% 0.1532 -0.103)
OKLCHoklch(43.68% 0.185 326.1)
XYZxyz(13.6625, 7.0021, 23.1816)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811786 #1C8617
analogous
#491786 #811786 #861753
triadic
#811786 #868117 #178681
tetradic
#811786 #864917 #1C8617 #175386
square
#811786 #864917 #1C8617 #175386
split-complementary
#811786 #538617 #178649
monochromatic
#1C051E #4F0E52 #811786 #B320BA #D63ADD

Accessibility & contrast

On white

8.75
#811786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#811786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811786
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811786#FFFFFF#000000##FFFFFF
##8117861.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#334F83
Tritanopia (blue-blind)
#842D50
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #811786;
/* rgb */ color: rgb(129, 23, 134);
/* oklch */ color: oklch(43.7% 0.185 326.1);
Tailwind
colors: {
  custom: {
    50: '#a964aa',
    500: '#811786',
    950: '#000000',
  },
}
SCSS
$custom: #811786;
$custom-light: #a964aa;
$custom-dark: #000000;
JSON
{
  "hex": "#811786",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 297.297,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43678,
    "c": 0.18463,
    "h": 326.1
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#811786
secondary
#44BA3F
accent
#ED3A42
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811786

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

Preview Lab → · Contrast checker → · Palette generator →

#811786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva