#811B97#811B97

#811B97 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.195 H 319.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#811B97
RGBrgb(129, 27, 151)
HSLhsl(289, 70%, 35%)
HSVhsv(289, 82%, 59%)
CMYKcmyk(14.6%, 82.1%, 0%, 40.8%)
CIE-LABlab(33.32, 57.80, -45.05)
CIE-LCHlch(33.32, 73.28, 322.06°)
OKLaboklab(45.1% 0.1482 -0.1266)
OKLCHoklch(45.1% 0.195 319.5)
XYZxyz(15.0304, 7.6861, 29.9640)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B97 #31971B
analogous
#431B97 #811B97 #971B6F
triadic
#811B97 #97811B #1B9781
tetradic
#811B97 #97431B #31971B #1B6F97
square
#811B97 #97431B #31971B #1B6F97
split-complementary
#811B97 #6F971B #1B9743
monochromatic
#28082F #551263 #811B97 #AD24CB #C54DDF

Accessibility & contrast

On white

8.28
#811B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#811B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B97
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B97#FFFFFF#000000##FFFFFF
##811B971.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #811b97;
/* rgb */ color: rgb(129, 27, 151);
/* oklch */ color: oklch(45.1% 0.195 319.5);
Tailwind
colors: {
  custom: {
    50: '#aa66b6',
    500: '#811b97',
    950: '#000000',
  },
}
SCSS
$custom: #811b97;
$custom-light: #aa66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#811b97",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 289.355,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.19496,
    "h": 319.5
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#811B97
secondary
#61C14C
accent
#EC3B5B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #811B97

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

Preview Lab → · Contrast checker → · Palette generator →

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