#811C8C#811C8C

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

Color values

HEX#811C8C
RGBrgb(129, 28, 140)
HSLhsl(294, 67%, 33%)
HSVhsv(294, 80%, 55%)
CMYKcmyk(7.9%, 80%, 0%, 45.1%)
CIE-LABlab(32.68, 55.48, -39.32)
CIE-LCHlch(32.68, 68.00, 324.67°)
OKLaboklab(44.42% 0.1488 -0.1098)
OKLCHoklch(44.42% 0.185 323.6)
XYZxyz(14.2017, 7.3920, 25.4846)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C8C #278C1C
analogous
#491C8C #811C8C #8C1C5F
triadic
#811C8C #8C811C #1C8C81
tetradic
#811C8C #8C491C #278C1C #1C5F8C
square
#811C8C #8C491C #278C1C #1C5F8C
split-complementary
#811C8C #5F8C1C #1C8C49
monochromatic
#230826 #521259 #811C8C #B026BF #CC48DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##811C8C#FFFFFF#000000##FFFFFF
##811C8C1.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)
#00458F
Deuteranopia (green-blind)
#315189
Tritanopia (blue-blind)
#833254
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811c8c;
/* rgb */ color: rgb(129, 28, 140);
/* oklch */ color: oklch(44.4% 0.185 323.6);
Tailwind
colors: {
  custom: {
    50: '#a966ae',
    500: '#811c8c',
    950: '#000000',
  },
}
SCSS
$custom: #811c8c;
$custom-light: #a966ae;
$custom-dark: #000000;
JSON
{
  "hex": "#811c8c",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 294.107,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.18496,
    "h": 323.6
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#811C8C
secondary
#53BC48
accent
#EA3E4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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