#811BAE#811BAE

#811BAE is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.8% C 0.214 H 312.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#811BAE
RGBrgb(129, 27, 174)
HSLhsl(282, 73%, 39%)
HSVhsv(282, 84%, 68%)
CMYKcmyk(25.9%, 84.5%, 0%, 31.8%)
CIE-LABlab(35.02, 62.27, -56.20)
CIE-LCHlch(35.02, 83.88, 317.93°)
OKLaboklab(46.83% 0.1434 -0.1594)
OKLCHoklch(46.83% 0.214 312)
XYZxyz(17.0837, 8.5075, 40.7784)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811BAE #48AE1B
analogous
#381BAE #811BAE #AE1B91
triadic
#811BAE #AE811B #1BAE81
tetradic
#811BAE #AE381B #48AE1B #1B91AE
square
#811BAE #AE381B #48AE1B #1B91AE
split-complementary
#811BAE #91AE1B #1BAE38
monochromatic
#320B44 #5A1379 #811BAE #A628DE #BC5DE6

Accessibility & contrast

On white

7.77
#811BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#811BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811BAE
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811BAE#FFFFFF#000000##FFFFFF
##811BAE1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#7B4368
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #811bae;
/* rgb */ color: rgb(129, 27, 174);
/* oklch */ color: oklch(46.8% 0.214 312.0);
Tailwind
colors: {
  custom: {
    50: '#ab67c7',
    500: '#811bae',
    950: '#000000',
  },
}
SCSS
$custom: #811bae;
$custom-light: #ab67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#811bae",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 174
  },
  "hsl": {
    "h": 281.633,
    "s": 73.134,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46825,
    "c": 0.2144,
    "h": 312
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#811BAE
secondary
#7DCA5B
accent
#F03870
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #811BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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