#811BA1#811BA1

#811BA1 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.8% C 0.203 H 316.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#811BA1
RGBrgb(129, 27, 161)
HSLhsl(286, 71%, 37%)
HSVhsv(286, 83%, 63%)
CMYKcmyk(19.9%, 83.2%, 0%, 36.9%)
CIE-LABlab(34.03, 59.70, -49.98)
CIE-LCHlch(34.03, 77.86, 320.06°)
OKLaboklab(45.83% 0.1464 -0.1411)
OKLCHoklch(45.83% 0.203 316.1)
XYZxyz(15.8772, 8.0249, 34.4239)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811BA1 #3BA11B
analogous
#3E1BA1 #811BA1 #A11B7E
triadic
#811BA1 #A1811B #1BA181
tetradic
#811BA1 #A13E1B #3BA11B #1B7EA1
square
#811BA1 #A13E1B #3BA11B #1B7EA1
split-complementary
#811BA1 #7EA11B #1BA13E
monochromatic
#2D0938 #57126D #811BA1 #AB24D5 #C054E2

Accessibility & contrast

On white

8.06
#811BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#811BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811BA1
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811BA1#FFFFFF#000000##FFFFFF
##811BA11.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#17539E
Tritanopia (blue-blind)
#7F3C60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811ba1;
/* rgb */ color: rgb(129, 27, 161);
/* oklch */ color: oklch(45.8% 0.203 316.1);
Tailwind
colors: {
  custom: {
    50: '#aa66be',
    500: '#811ba1',
    950: '#000000',
  },
}
SCSS
$custom: #811ba1;
$custom-light: #aa66be;
$custom-dark: #000000;
JSON
{
  "hex": "#811ba1",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 285.672,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4583,
    "c": 0.20334,
    "h": 316.1
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#811BA1
secondary
#6EC552
accent
#EE3A65
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #811BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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