#811C8E#811C8E

#811C8E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.187 H 322.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#811C8E
RGBrgb(129, 28, 142)
HSLhsl(293, 67%, 33%)
HSVhsv(293, 80%, 56%)
CMYKcmyk(9.2%, 80.3%, 0%, 44.3%)
CIE-LABlab(32.81, 55.84, -40.34)
CIE-LCHlch(32.81, 68.89, 324.15°)
OKLaboklab(44.55% 0.1486 -0.1128)
OKLCHoklch(44.55% 0.187 322.8)
XYZxyz(14.3505, 7.4515, 26.2684)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C8E #298E1C
analogous
#481C8E #811C8E #8E1C62
triadic
#811C8E #8E811C #1C8E81
tetradic
#811C8E #8E481C #298E1C #1C628E
square
#811C8E #8E481C #298E1C #1C628E
split-complementary
#811C8E #628E1C #1C8E48
monochromatic
#240828 #53125B #811C8E #AF26C1 #CB49DB

Accessibility & contrast

On white

8.43
#811C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#811C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C8E
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C8E#FFFFFF#000000##FFFFFF
##811C8E1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#2F518B
Tritanopia (blue-blind)
#833355
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811c8e;
/* rgb */ color: rgb(129, 28, 142);
/* oklch */ color: oklch(44.6% 0.187 322.8);
Tailwind
colors: {
  custom: {
    50: '#a966b0',
    500: '#811c8e',
    950: '#000000',
  },
}
SCSS
$custom: #811c8e;
$custom-light: #a966b0;
$custom-dark: #000000;
JSON
{
  "hex": "#811c8e",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 293.158,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44552,
    "c": 0.18661,
    "h": 322.8
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#811C8E
secondary
#56BD49
accent
#EA3E51
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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