#811BA6#811BA6

#811BA6 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.2% C 0.208 H 314.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#811BA6
RGBrgb(129, 27, 166)
HSLhsl(284, 72%, 38%)
HSVhsv(284, 84%, 65%)
CMYKcmyk(22.3%, 83.7%, 0%, 34.9%)
CIE-LABlab(34.41, 60.68, -52.40)
CIE-LCHlch(34.41, 80.17, 319.19°)
OKLaboklab(46.21% 0.1453 -0.1482)
OKLCHoklch(46.21% 0.208 314.4)
XYZxyz(16.3270, 8.2048, 36.7926)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811BA6 #40A61B
analogous
#3C1BA6 #811BA6 #A61B85
triadic
#811BA6 #A6811B #1BA681
tetradic
#811BA6 #A63C1B #40A61B #1B85A6
square
#811BA6 #A63C1B #40A61B #1B85A6
split-complementary
#811BA6 #85A61B #1BA63C
monochromatic
#2F0A3D #581271 #811BA6 #AA24DB #BE58E4

Accessibility & contrast

On white

7.95
#811BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#811BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811BA6
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811BA6#FFFFFF#000000##FFFFFF
##811BA61.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#0A53A3
Tritanopia (blue-blind)
#7D3F63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #811ba6;
/* rgb */ color: rgb(129, 27, 166);
/* oklch */ color: oklch(46.2% 0.208 314.4);
Tailwind
colors: {
  custom: {
    50: '#aa67c1',
    500: '#811ba6',
    950: '#000000',
  },
}
SCSS
$custom: #811ba6;
$custom-light: #aa67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#811ba6",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 166
  },
  "hsl": {
    "h": 284.029,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46206,
    "c": 0.20757,
    "h": 314.4
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#811BA6
secondary
#74C756
accent
#EF3969
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #811BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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