#811E9D#811E9D

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

Color values

HEX#811E9D
RGBrgb(129, 30, 157)
HSLhsl(287, 68%, 37%)
HSVhsv(287, 81%, 62%)
CMYKcmyk(17.8%, 80.9%, 0%, 38.4%)
CIE-LABlab(34.05, 58.05, -47.54)
CIE-LCHlch(34.05, 75.03, 320.69°)
OKLaboklab(45.75% 0.145 -0.134)
OKLCHoklch(45.75% 0.197 317.3)
XYZxyz(15.6024, 8.0307, 32.6200)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E9D #3A9D1E
analogous
#421E9D #811E9D #9D1E7A
triadic
#811E9D #9D811E #1E9D81
tetradic
#811E9D #9D421E #3A9D1E #1E7A9D
square
#811E9D #9D421E #3A9D1E #1E7A9D
split-complementary
#811E9D #7A9D1E #1E9D42
monochromatic
#2D0A36 #57146A #811E9D #AB28D0 #C157DF

Accessibility & contrast

On white

8.06
#811E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#811E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811E9D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811E9D#FFFFFF#000000##FFFFFF
##811E9D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#21539A
Tritanopia (blue-blind)
#803C5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811e9d;
/* rgb */ color: rgb(129, 30, 157);
/* oklch */ color: oklch(45.7% 0.197 317.3);
Tailwind
colors: {
  custom: {
    50: '#aa67bb',
    500: '#811e9d',
    950: '#000000',
  },
}
SCSS
$custom: #811e9d;
$custom-light: #aa67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#811e9d",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 286.772,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.19737,
    "h": 317.3
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#811E9D
secondary
#6DC254
accent
#EB3D63
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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