#811FA6#811FA6

#811FA6 is a mid, highly saturated purple. Relative luminance 0.084; OKLCH L 46.5% C 0.204 H 314.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#811FA6
RGBrgb(129, 31, 166)
HSLhsl(284, 69%, 39%)
HSVhsv(284, 81%, 65%)
CMYKcmyk(22.3%, 81.3%, 0%, 34.9%)
CIE-LABlab(34.80, 59.52, -51.75)
CIE-LCHlch(34.80, 78.87, 318.99°)
OKLaboklab(46.49% 0.1425 -0.1463)
OKLCHoklch(46.49% 0.204 314.2)
XYZxyz(16.4250, 8.4009, 36.8253)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811FA6 #44A61F
analogous
#3E1FA6 #811FA6 #A61F87
triadic
#811FA6 #A6811F #1FA681
tetradic
#811FA6 #A63E1F #44A61F #1F87A6
square
#811FA6 #A63E1F #44A61F #1F87A6
split-complementary
#811FA6 #87A61F #1FA63E
monochromatic
#310C3F #591572 #811FA6 #A82BD7 #BD5EE1

Accessibility & contrast

On white

7.84
#811FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#811FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811FA6
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811FA6#FFFFFF#000000##FFFFFF
##811FA61.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#1154A3
Tritanopia (blue-blind)
#7D4064
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #811fa6;
/* rgb */ color: rgb(129, 31, 166);
/* oklch */ color: oklch(46.5% 0.204 314.2);
Tailwind
colors: {
  custom: {
    50: '#aa68c1',
    500: '#811fa6',
    950: '#000000',
  },
}
SCSS
$custom: #811fa6;
$custom-light: #aa68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#811fa6",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 283.556,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46485,
    "c": 0.20423,
    "h": 314.2
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#811FA6
secondary
#78C55B
accent
#EB3C6C
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #811FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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