#811E9C#811E9C

#811E9C is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.197 H 317.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#811E9C
RGBrgb(129, 30, 156)
HSLhsl(287, 68%, 36%)
HSVhsv(287, 81%, 61%)
CMYKcmyk(17.3%, 80.8%, 0%, 38.8%)
CIE-LABlab(33.98, 57.86, -47.04)
CIE-LCHlch(33.98, 74.57, 320.89°)
OKLaboklab(45.68% 0.1451 -0.1325)
OKLCHoklch(45.68% 0.197 317.6)
XYZxyz(15.5174, 7.9967, 32.1722)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E9C #399C1E
analogous
#421E9C #811E9C #9C1E78
triadic
#811E9C #9C811E #1E9C81
tetradic
#811E9C #9C421E #399C1E #1E789C
square
#811E9C #9C421E #399C1E #1E789C
split-complementary
#811E9C #789C1E #1E9C42
monochromatic
#2C0A35 #571469 #811E9C #AB28CF #C156DE

Accessibility & contrast

On white

8.08
#811E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#811E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811E9C
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811E9C#FFFFFF#000000##FFFFFF
##811E9C1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#225399
Tritanopia (blue-blind)
#803B5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811e9c;
/* rgb */ color: rgb(129, 30, 156);
/* oklch */ color: oklch(45.7% 0.197 317.6);
Tailwind
colors: {
  custom: {
    50: '#aa67ba',
    500: '#811e9c',
    950: '#000000',
  },
}
SCSS
$custom: #811e9c;
$custom-light: #aa67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#811e9c",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 156
  },
  "hsl": {
    "h": 287.143,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.19651,
    "h": 317.6
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#811E9C
secondary
#6BC254
accent
#EB3D62
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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