#811EA1#811EA1

#811EA1 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.0% C 0.201 H 315.9°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#811EA1
RGBrgb(129, 30, 161)
HSLhsl(285, 69%, 37%)
HSVhsv(285, 81%, 63%)
CMYKcmyk(19.9%, 81.4%, 0%, 36.9%)
CIE-LABlab(34.33, 58.83, -49.50)
CIE-LCHlch(34.33, 76.88, 319.92°)
OKLaboklab(46.04% 0.1442 -0.1397)
OKLCHoklch(46.04% 0.201 315.9)
XYZxyz(15.9495, 8.1695, 34.4480)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811EA1 #3EA11E
analogous
#401EA1 #811EA1 #A11E7F
triadic
#811EA1 #A1811E #1EA181
tetradic
#811EA1 #A1401E #3EA11E #1E7FA1
square
#811EA1 #A1401E #3EA11E #1E7FA1
split-complementary
#811EA1 #7FA11E #1EA140
monochromatic
#2E0B3A #58146D #811EA1 #AA28D5 #BF59E0

Accessibility & contrast

On white

7.97
#811EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#811EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811EA1
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811EA1#FFFFFF#000000##FFFFFF
##811EA11.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#1A539E
Tritanopia (blue-blind)
#7F3E61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #811ea1;
/* rgb */ color: rgb(129, 30, 161);
/* oklch */ color: oklch(46.0% 0.201 315.9);
Tailwind
colors: {
  custom: {
    50: '#aa67be',
    500: '#811ea1',
    950: '#000000',
  },
}
SCSS
$custom: #811ea1;
$custom-light: #aa67be;
$custom-dark: #000000;
JSON
{
  "hex": "#811ea1",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 285.344,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.20079,
    "h": 315.9
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#811EA1
secondary
#72C457
accent
#EB3C67
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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