#811E9B#811E9B

#811E9B is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.196 H 317.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#811E9B
RGBrgb(129, 30, 155)
HSLhsl(288, 68%, 36%)
HSVhsv(288, 81%, 61%)
CMYKcmyk(16.8%, 80.6%, 0%, 39.2%)
CIE-LABlab(33.91, 57.67, -46.55)
CIE-LCHlch(33.91, 74.11, 321.09°)
OKLaboklab(45.6% 0.1453 -0.131)
OKLCHoklch(45.6% 0.196 317.9)
XYZxyz(15.4331, 7.9630, 31.7281)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811E9B #389B1E
analogous
#431E9B #811E9B #9B1E77
triadic
#811E9B #9B811E #1E9B81
tetradic
#811E9B #9B431E #389B1E #1E779B
square
#811E9B #9B431E #389B1E #1E779B
split-complementary
#811E9B #779B1E #1E9B43
monochromatic
#2C0A34 #561468 #811E9B #AC28CE #C255DE

Accessibility & contrast

On white

8.10
#811E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#811E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811E9B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811E9B#FFFFFF#000000##FFFFFF
##811E9B1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#235398
Tritanopia (blue-blind)
#803B5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811e9b;
/* rgb */ color: rgb(129, 30, 155);
/* oklch */ color: oklch(45.6% 0.196 317.9);
Tailwind
colors: {
  custom: {
    50: '#aa67b9',
    500: '#811e9b',
    950: '#000000',
  },
}
SCSS
$custom: #811e9b;
$custom-light: #aa67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#811e9b",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 287.52,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45603,
    "c": 0.19565,
    "h": 317.9
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#811E9B
secondary
#6AC253
accent
#EA3D61
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #811E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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