#811AA8#811AA8

#811AA8 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.3% C 0.210 H 313.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#811AA8
RGBrgb(129, 26, 168)
HSLhsl(284, 73%, 38%)
HSVhsv(284, 85%, 66%)
CMYKcmyk(23.2%, 84.5%, 0%, 34.1%)
CIE-LABlab(34.46, 61.34, -53.50)
CIE-LCHlch(34.46, 81.40, 318.90°)
OKLaboklab(46.29% 0.1455 -0.1514)
OKLCHoklch(46.29% 0.21 313.9)
XYZxyz(16.4893, 8.2336, 37.7588)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811AA8 #41A81A
analogous
#3A1AA8 #811AA8 #A81A88
triadic
#811AA8 #A8811A #1AA881
tetradic
#811AA8 #A83A1A #41A81A #1A88A8
square
#811AA8 #A83A1A #41A81A #1A88A8
split-complementary
#811AA8 #88A81A #1AA83A
monochromatic
#300A3E #581273 #811AA8 #AA22DD #BE57E5

Accessibility & contrast

On white

7.93
#811AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#811AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811AA8
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811AA8#FFFFFF#000000##FFFFFF
##811AA81.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0153A5
Tritanopia (blue-blind)
#7D3F64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #811aa8;
/* rgb */ color: rgb(129, 26, 168);
/* oklch */ color: oklch(46.3% 0.210 313.9);
Tailwind
colors: {
  custom: {
    50: '#aa66c3',
    500: '#811aa8',
    950: '#000000',
  },
}
SCSS
$custom: #811aa8;
$custom-light: #aa66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#811aa8",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 168
  },
  "hsl": {
    "h": 283.521,
    "s": 73.196,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.21005,
    "h": 313.9
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

primary
#811AA8
secondary
#75C855
accent
#F0386A
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #811AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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