#811FAE#811FAE

#811FAE is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.211 H 311.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#811FAE
RGBrgb(129, 31, 174)
HSLhsl(281, 70%, 40%)
HSVhsv(281, 82%, 68%)
CMYKcmyk(25.9%, 82.2%, 0%, 31.8%)
CIE-LABlab(35.41, 61.13, -55.57)
CIE-LCHlch(35.41, 82.61, 317.73°)
OKLaboklab(47.1% 0.1407 -0.1575)
OKLCHoklch(47.1% 0.211 311.8)
XYZxyz(17.1818, 8.7036, 40.8110)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811FAE #4CAE1F
analogous
#3A1FAE #811FAE #AE1F93
triadic
#811FAE #AE811F #1FAE81
tetradic
#811FAE #AE3A1F #4CAE1F #1F93AE
square
#811FAE #AE3A1F #4CAE1F #1F93AE
split-complementary
#811FAE #93AE1F #1FAE3A
monochromatic
#340C46 #5A167A #811FAE #A530DA #BB64E3

Accessibility & contrast

On white

7.66
#811FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#811FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811FAE
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811FAE#FFFFFF#000000##FFFFFF
##811FAE1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#7B4468
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #811fae;
/* rgb */ color: rgb(129, 31, 174);
/* oklch */ color: oklch(47.1% 0.211 311.8);
Tailwind
colors: {
  custom: {
    50: '#ab68c7',
    500: '#811fae',
    950: '#000000',
  },
}
SCSS
$custom: #811fae;
$custom-light: #ab68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#811fae",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 281.119,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47096,
    "c": 0.21121,
    "h": 311.8
  },
  "luminance": 0.08703
}

Semantic roles & 50–950 ramp

primary
#811FAE
secondary
#81C860
accent
#ED3B73
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #811FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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