#811FA8#811FA8

#811FA8 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.6% C 0.206 H 313.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#811FA8
RGBrgb(129, 31, 168)
HSLhsl(283, 69%, 39%)
HSVhsv(283, 82%, 66%)
CMYKcmyk(23.2%, 81.5%, 0%, 34.1%)
CIE-LABlab(34.95, 59.92, -52.71)
CIE-LCHlch(34.95, 79.80, 318.66°)
OKLaboklab(46.64% 0.1421 -0.1491)
OKLCHoklch(46.64% 0.206 313.6)
XYZxyz(16.6099, 8.4748, 37.7990)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811FA8 #46A81F
analogous
#3D1FA8 #811FA8 #A81F8B
triadic
#811FA8 #A8811F #1FA881
tetradic
#811FA8 #A83D1F #46A81F #1F8BA8
square
#811FA8 #A83D1F #46A81F #1F8BA8
split-complementary
#811FA8 #8BA81F #1FA83D
monochromatic
#320C41 #591574 #811FA8 #A72CD8 #BD60E2

Accessibility & contrast

On white

7.79
#811FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#811FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811FA8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811FA8#FFFFFF#000000##FFFFFF
##811FA81.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0A54A5
Tritanopia (blue-blind)
#7D4165
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #811fa8;
/* rgb */ color: rgb(129, 31, 168);
/* oklch */ color: oklch(46.6% 0.206 313.6);
Tailwind
colors: {
  custom: {
    50: '#aa68c3',
    500: '#811fa8',
    950: '#000000',
  },
}
SCSS
$custom: #811fa8;
$custom-light: #aa68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#811fa8",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 282.92,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46636,
    "c": 0.20597,
    "h": 313.6
  },
  "luminance": 0.08474
}

Semantic roles & 50–950 ramp

primary
#811FA8
secondary
#7BC65D
accent
#EC3C6E
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #811FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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