#811BAA#811BAA

#811BAA is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.211 H 313.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#811BAA
RGBrgb(129, 27, 170)
HSLhsl(283, 73%, 39%)
HSVhsv(283, 84%, 67%)
CMYKcmyk(24.1%, 84.1%, 0%, 33.3%)
CIE-LABlab(34.71, 61.47, -54.31)
CIE-LCHlch(34.71, 82.02, 318.54°)
OKLaboklab(46.51% 0.1444 -0.1538)
OKLCHoklch(46.51% 0.211 313.2)
XYZxyz(16.6996, 8.3538, 38.7552)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811BAA #44AA1B
analogous
#391BAA #811BAA #AA1B8B
triadic
#811BAA #AA811B #1BAA81
tetradic
#811BAA #AA391B #44AA1B #1B8BAA
square
#811BAA #AA391B #44AA1B #1B8BAA
split-complementary
#811BAA #8BAA1B #1BAA39
monochromatic
#310A40 #591375 #811BAA #A826DC #BD5BE5

Accessibility & contrast

On white

7.86
#811BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#811BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811BAA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811BAA#FFFFFF#000000##FFFFFF
##811BAA1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#7C4165
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #811baa;
/* rgb */ color: rgb(129, 27, 170);
/* oklch */ color: oklch(46.5% 0.211 313.2);
Tailwind
colors: {
  custom: {
    50: '#ab67c4',
    500: '#811baa',
    950: '#000000',
  },
}
SCSS
$custom: #811baa;
$custom-light: #ab67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#811baa",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 282.797,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.21098,
    "h": 313.2
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#811BAA
secondary
#78C958
accent
#EF396D
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #811BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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