#811EA6#811EA6

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

Color values

HEX#811EA6
RGBrgb(129, 30, 166)
HSLhsl(284, 69%, 38%)
HSVhsv(284, 82%, 65%)
CMYKcmyk(22.3%, 81.9%, 0%, 34.9%)
CIE-LABlab(34.70, 59.82, -51.92)
CIE-LCHlch(34.70, 79.21, 319.04°)
OKLaboklab(46.41% 0.1432 -0.1468)
OKLCHoklch(46.41% 0.205 314.3)
XYZxyz(16.3993, 8.3494, 36.8167)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811EA6 #43A61E
analogous
#3D1EA6 #811EA6 #A61E87
triadic
#811EA6 #A6811E #1EA681
tetradic
#811EA6 #A63D1E #43A61E #1E87A6
square
#811EA6 #A63D1E #43A61E #1E87A6
split-complementary
#811EA6 #87A61E #1EA63D
monochromatic
#300B3E #591572 #811EA6 #A929D8 #BE5DE2

Accessibility & contrast

On white

7.87
#811EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#811EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811EA6
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811EA6#FFFFFF#000000##FFFFFF
##811EA61.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#0F54A3
Tritanopia (blue-blind)
#7D4063
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #811ea6;
/* rgb */ color: rgb(129, 30, 166);
/* oklch */ color: oklch(46.4% 0.205 314.3);
Tailwind
colors: {
  custom: {
    50: '#aa68c1',
    500: '#811ea6',
    950: '#000000',
  },
}
SCSS
$custom: #811ea6;
$custom-light: #aa68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#811ea6",
  "rgb": {
    "r": 129,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 283.676,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46412,
    "c": 0.20511,
    "h": 314.3
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#811EA6
secondary
#77C65A
accent
#EC3C6C
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #811EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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