#811CA6#811CA6

#811CA6 is a mid, highly saturated purple. Relative luminance 0.083; OKLCH L 46.3% C 0.207 H 314.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#811CA6
RGBrgb(129, 28, 166)
HSLhsl(284, 71%, 38%)
HSVhsv(284, 83%, 65%)
CMYKcmyk(22.3%, 83.1%, 0%, 34.9%)
CIE-LABlab(34.50, 60.40, -52.24)
CIE-LCHlch(34.50, 79.86, 319.14°)
OKLaboklab(46.27% 0.1447 -0.1477)
OKLCHoklch(46.27% 0.207 314.4)
XYZxyz(16.3503, 8.2514, 36.8004)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811CA6 #41A61C
analogous
#3C1CA6 #811CA6 #A61C86
triadic
#811CA6 #A6811C #1CA681
tetradic
#811CA6 #A63C1C #41A61C #1C86A6
square
#811CA6 #A63C1C #41A61C #1C86A6
split-complementary
#811CA6 #86A61C #1CA63C
monochromatic
#300A3D #581372 #811CA6 #AA25DA #BE59E3

Accessibility & contrast

On white

7.92
#811CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811CA6
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811CA6#FFFFFF#000000##FFFFFF
##811CA61.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #811ca6;
/* rgb */ color: rgb(129, 28, 166);
/* oklch */ color: oklch(46.3% 0.207 314.4);
Tailwind
colors: {
  custom: {
    50: '#aa67c1',
    500: '#811ca6',
    950: '#000000',
  },
}
SCSS
$custom: #811ca6;
$custom-light: #aa67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#811ca6",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 283.913,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46273,
    "c": 0.20678,
    "h": 314.4
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#811CA6
secondary
#75C757
accent
#EE3A6A
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #811CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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