#811A97#811A97

#811A97 is a mid, vivid purple. Relative luminance 0.076; OKLCH L 45.0% C 0.196 H 319.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#811A97
RGBrgb(129, 26, 151)
HSLhsl(289, 71%, 35%)
HSVhsv(289, 83%, 59%)
CMYKcmyk(14.6%, 82.8%, 0%, 40.8%)
CIE-LABlab(33.22, 58.08, -45.21)
CIE-LCHlch(33.22, 73.60, 322.10°)
OKLaboklab(45.04% 0.149 -0.1271)
OKLCHoklch(45.04% 0.196 319.5)
XYZxyz(15.0078, 7.6411, 29.9565)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811A97 #30971A
analogous
#431A97 #811A97 #971A6F
triadic
#811A97 #97811A #1A9781
tetradic
#811A97 #97431A #30971A #1A6F97
square
#811A97 #97431A #30971A #1A6F97
split-complementary
#811A97 #6F971A #1A9743
monochromatic
#28082F #541163 #811A97 #AE23CB #C64BE0

Accessibility & contrast

On white

8.31
#811A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#811A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811A97
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811A97#FFFFFF#000000##FFFFFF
##811A971.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#265194
Tritanopia (blue-blind)
#81375A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #811a97;
/* rgb */ color: rgb(129, 26, 151);
/* oklch */ color: oklch(45.0% 0.196 319.5);
Tailwind
colors: {
  custom: {
    50: '#aa65b6',
    500: '#811a97',
    950: '#000000',
  },
}
SCSS
$custom: #811a97;
$custom-light: #aa65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#811a97",
  "rgb": {
    "r": 129,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 289.44,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45035,
    "c": 0.19581,
    "h": 319.5
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#811A97
secondary
#60C24B
accent
#ED3A5A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #811A97

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

Preview Lab → · Contrast checker → · Palette generator →

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