#811F97#811F97

#811F97 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.191 H 319.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#811F97
RGBrgb(129, 31, 151)
HSLhsl(289, 66%, 36%)
HSVhsv(289, 79%, 59%)
CMYKcmyk(14.6%, 79.5%, 0%, 40.8%)
CIE-LABlab(33.74, 56.59, -44.38)
CIE-LCHlch(33.74, 71.92, 321.89°)
OKLaboklab(45.4% 0.1451 -0.1247)
OKLCHoklch(45.4% 0.191 319.3)
XYZxyz(15.1284, 7.8822, 29.9967)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F97 #35971F
analogous
#451F97 #811F97 #971F71
triadic
#811F97 #97811F #1F9781
tetradic
#811F97 #97451F #35971F #1F7197
square
#811F97 #97451F #35971F #1F7197
split-complementary
#811F97 #71971F #1F9745
monochromatic
#2A0A31 #561564 #811F97 #AC29CA #C354DC

Accessibility & contrast

On white

8.15
#811F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#811F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F97
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F97#FFFFFF#000000##FFFFFF
##811F971.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#295294
Tritanopia (blue-blind)
#81395B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #811f97;
/* rgb */ color: rgb(129, 31, 151);
/* oklch */ color: oklch(45.4% 0.191 319.3);
Tailwind
colors: {
  custom: {
    50: '#aa67b6',
    500: '#811f97',
    950: '#000000',
  },
}
SCSS
$custom: #811f97;
$custom-light: #aa67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#811f97",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 289,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45396,
    "c": 0.1913,
    "h": 319.3
  },
  "luminance": 0.07881
}

Semantic roles & 50–950 ramp

primary
#811F97
secondary
#66BF52
accent
#E93F5E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #811F97

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

Preview Lab → · Contrast checker → · Palette generator →

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