#811CA5#811CA5

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

Color values

HEX#811CA5
RGBrgb(129, 28, 165)
HSLhsl(284, 71%, 38%)
HSVhsv(284, 83%, 65%)
CMYKcmyk(21.8%, 83%, 0%, 35.3%)
CIE-LABlab(34.43, 60.20, -51.76)
CIE-LCHlch(34.43, 79.40, 319.31°)
OKLaboklab(46.2% 0.1449 -0.1463)
OKLCHoklch(46.2% 0.206 314.7)
XYZxyz(16.2589, 8.2149, 36.3192)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811CA5 #40A51C
analogous
#3D1CA5 #811CA5 #A51C84
triadic
#811CA5 #A5811C #1CA581
tetradic
#811CA5 #A53D1C #40A51C #1C84A5
square
#811CA5 #A53D1C #40A51C #1C84A5
split-complementary
#811CA5 #84A51C #1CA53D
monochromatic
#2F0A3C #581371 #811CA5 #AA25D9 #BE59E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##811CA5#FFFFFF#000000##FFFFFF
##811CA51.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)
#004CA9
Deuteranopia (green-blind)
#0F53A2
Tritanopia (blue-blind)
#7E3F62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #811ca5;
/* rgb */ color: rgb(129, 28, 165);
/* oklch */ color: oklch(46.2% 0.206 314.7);
Tailwind
colors: {
  custom: {
    50: '#aa67c0',
    500: '#811ca5',
    950: '#000000',
  },
}
SCSS
$custom: #811ca5;
$custom-light: #aa67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#811ca5",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 165
  },
  "hsl": {
    "h": 284.234,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46197,
    "c": 0.20593,
    "h": 314.7
  },
  "luminance": 0.08214
}

Semantic roles & 50–950 ramp

primary
#811CA5
secondary
#74C656
accent
#EE3A69
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #811CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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