#811BA7#811BA7

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

Color values

HEX#811BA7
RGBrgb(129, 27, 167)
HSLhsl(284, 72%, 38%)
HSVhsv(284, 84%, 65%)
CMYKcmyk(22.8%, 83.8%, 0%, 34.5%)
CIE-LABlab(34.48, 60.88, -52.88)
CIE-LCHlch(34.48, 80.63, 319.02°)
OKLaboklab(46.28% 0.1451 -0.1496)
OKLCHoklch(46.28% 0.208 314.1)
XYZxyz(16.4190, 8.2416, 37.2776)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811BA7 #41A71B
analogous
#3B1BA7 #811BA7 #A71B87
triadic
#811BA7 #A7811B #1BA781
tetradic
#811BA7 #A73B1B #41A71B #1B87A7
square
#811BA7 #A73B1B #41A71B #1B87A7
split-complementary
#811BA7 #87A71B #1BA73B
monochromatic
#300A3E #581272 #811BA7 #AA24DC #BE58E4

Accessibility & contrast

On white

7.93
#811BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#811BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811BA7
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811BA7#FFFFFF#000000##FFFFFF
##811BA71.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0753A4
Tritanopia (blue-blind)
#7D3F63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #811ba7;
/* rgb */ color: rgb(129, 27, 167);
/* oklch */ color: oklch(46.3% 0.208 314.1);
Tailwind
colors: {
  custom: {
    50: '#aa67c2',
    500: '#811ba7',
    950: '#000000',
  },
}
SCSS
$custom: #811ba7;
$custom-light: #aa67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#811ba7",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 167
  },
  "hsl": {
    "h": 283.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46282,
    "c": 0.20843,
    "h": 314.1
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#811BA7
secondary
#75C856
accent
#EF396A
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #811BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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