#811FA0#811FA0

#811FA0 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.199 H 316.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#811FA0
RGBrgb(129, 31, 160)
HSLhsl(286, 68%, 37%)
HSVhsv(286, 81%, 63%)
CMYKcmyk(19.4%, 80.6%, 0%, 37.3%)
CIE-LABlab(34.37, 58.33, -48.84)
CIE-LCHlch(34.37, 76.08, 320.06°)
OKLaboklab(46.04% 0.1436 -0.1378)
OKLCHoklch(46.04% 0.199 316.2)
XYZxyz(15.8874, 8.1858, 33.9940)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811FA0 #3EA01F
analogous
#401FA0 #811FA0 #A01F7F
triadic
#811FA0 #A0811F #1FA081
tetradic
#811FA0 #A0401F #3EA01F #1F7FA0
square
#811FA0 #A0401F #3EA01F #1F7FA0
split-complementary
#811FA0 #7FA01F #1FA040
monochromatic
#2E0B39 #58156D #811FA0 #AA29D3 #BF5ADF

Accessibility & contrast

On white

7.96
#811FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #811FA0
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811FA0#FFFFFF#000000##FFFFFF
##811FA01.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA3
Deuteranopia (green-blind)
#1D539D
Tritanopia (blue-blind)
#7F3E60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #811fa0;
/* rgb */ color: rgb(129, 31, 160);
/* oklch */ color: oklch(46.0% 0.199 316.2);
Tailwind
colors: {
  custom: {
    50: '#aa68bd',
    500: '#811fa0',
    950: '#000000',
  },
}
SCSS
$custom: #811fa0;
$custom-light: #aa68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#811fa0",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 285.581,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4604,
    "c": 0.19903,
    "h": 316.2
  },
  "luminance": 0.08185
}

Semantic roles & 50–950 ramp

primary
#811FA0
secondary
#72C358
accent
#EA3D67
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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