#811C97#811C97

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

Color values

HEX#811C97
RGBrgb(129, 28, 151)
HSLhsl(289, 69%, 35%)
HSVhsv(289, 81%, 59%)
CMYKcmyk(14.6%, 81.5%, 0%, 40.8%)
CIE-LABlab(33.42, 57.51, -44.89)
CIE-LCHlch(33.42, 72.95, 322.02°)
OKLaboklab(45.17% 0.1475 -0.1262)
OKLCHoklch(45.17% 0.194 319.4)
XYZxyz(15.0537, 7.7328, 29.9718)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811C97 #32971C
analogous
#431C97 #811C97 #971C70
triadic
#811C97 #97811C #1C9781
tetradic
#811C97 #97431C #32971C #1C7097
square
#811C97 #97431C #32971C #1C7097
split-complementary
#811C97 #70971C #1C9743
monochromatic
#290930 #551263 #811C97 #AD26CB #C54FDE

Accessibility & contrast

On white

8.25
#811C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#811C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811C97
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811C97#FFFFFF#000000##FFFFFF
##811C971.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #811c97;
/* rgb */ color: rgb(129, 28, 151);
/* oklch */ color: oklch(45.2% 0.194 319.4);
Tailwind
colors: {
  custom: {
    50: '#aa66b6',
    500: '#811c97',
    950: '#000000',
  },
}
SCSS
$custom: #811c97;
$custom-light: #aa66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#811c97",
  "rgb": {
    "r": 129,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 289.268,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.19408,
    "h": 319.4
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#811C97
secondary
#62C14E
accent
#EC3C5C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #811C97

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

Preview Lab → · Contrast checker → · Palette generator →

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