#811D97#811D97

#811D97 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.193 H 319.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#811D97
RGBrgb(129, 29, 151)
HSLhsl(289, 68%, 35%)
HSVhsv(289, 81%, 59%)
CMYKcmyk(14.6%, 80.8%, 0%, 40.8%)
CIE-LABlab(33.52, 57.21, -44.73)
CIE-LCHlch(33.52, 72.62, 321.98°)
OKLaboklab(45.25% 0.1467 -0.1257)
OKLCHoklch(45.25% 0.193 319.4)
XYZxyz(15.0778, 7.7810, 29.9798)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811D97 #33971D
analogous
#441D97 #811D97 #971D70
triadic
#811D97 #97811D #1D9781
tetradic
#811D97 #97441D #33971D #1D7097
square
#811D97 #97441D #33971D #1D7097
split-complementary
#811D97 #70971D #1D9744
monochromatic
#290930 #551364 #811D97 #AD27CA #C451DE

Accessibility & contrast

On white

8.22
#811D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#811D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811D97
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811D97#FFFFFF#000000##FFFFFF
##811D971.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#275294
Tritanopia (blue-blind)
#81385B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #811d97;
/* rgb */ color: rgb(129, 29, 151);
/* oklch */ color: oklch(45.2% 0.193 319.4);
Tailwind
colors: {
  custom: {
    50: '#aa66b6',
    500: '#811d97',
    950: '#000000',
  },
}
SCSS
$custom: #811d97;
$custom-light: #aa66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#811d97",
  "rgb": {
    "r": 129,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 289.18,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.19318,
    "h": 319.4
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#811D97
secondary
#64C04F
accent
#EB3D5C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #811D97

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

Preview Lab → · Contrast checker → · Palette generator →

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