#811BA8#811BA8

#811BA8 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.4% C 0.209 H 313.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#811BA8
RGBrgb(129, 27, 168)
HSLhsl(283, 72%, 38%)
HSVhsv(283, 84%, 66%)
CMYKcmyk(23.2%, 83.9%, 0%, 34.1%)
CIE-LABlab(34.56, 61.07, -53.36)
CIE-LCHlch(34.56, 81.10, 318.86°)
OKLaboklab(46.36% 0.1449 -0.151)
OKLCHoklch(46.36% 0.209 313.8)
XYZxyz(16.5118, 8.2787, 37.7664)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811BA8 #42A81B
analogous
#3A1BA8 #811BA8 #A81B88
triadic
#811BA8 #A8811B #1BA881
tetradic
#811BA8 #A83A1B #42A81B #1B88A8
square
#811BA8 #A83A1B #42A81B #1B88A8
split-complementary
#811BA8 #88A81B #1BA83A
monochromatic
#300A3F #591373 #811BA8 #A924DC #BE59E4

Accessibility & contrast

On white

7.91
#811BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#811BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811BA8
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811BA8#FFFFFF#000000##FFFFFF
##811BA81.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #811ba8;
/* rgb */ color: rgb(129, 27, 168);
/* oklch */ color: oklch(46.4% 0.209 313.8);
Tailwind
colors: {
  custom: {
    50: '#aa67c3',
    500: '#811ba8',
    950: '#000000',
  },
}
SCSS
$custom: #811ba8;
$custom-light: #aa67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#811ba8",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 168
  },
  "hsl": {
    "h": 283.404,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46359,
    "c": 0.20927,
    "h": 313.8
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#811BA8
secondary
#76C857
accent
#EF396B
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #811BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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