#811B9F#811B9F

#811B9F is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.7% C 0.202 H 316.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#811B9F
RGBrgb(129, 27, 159)
HSLhsl(286, 71%, 36%)
HSVhsv(286, 83%, 62%)
CMYKcmyk(18.9%, 83%, 0%, 37.6%)
CIE-LABlab(33.89, 59.32, -49.01)
CIE-LCHlch(33.89, 76.94, 320.44°)
OKLaboklab(45.68% 0.1468 -0.1382)
OKLCHoklch(45.68% 0.202 316.7)
XYZxyz(15.7022, 7.9549, 33.5025)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811B9F #399F1B
analogous
#3F1B9F #811B9F #9F1B7B
triadic
#811B9F #9F811B #1B9F81
tetradic
#811B9F #9F3F1B #399F1B #1B7B9F
square
#811B9F #9F3F1B #399F1B #1B7B9F
split-complementary
#811B9F #7B9F1B #1B9F3F
monochromatic
#2C0936 #57126B #811B9F #AB24D3 #C153E2

Accessibility & contrast

On white

8.11
#811B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#811B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811B9F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811B9F#FFFFFF#000000##FFFFFF
##811B9F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#1B529C
Tritanopia (blue-blind)
#7F3B5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #811b9f;
/* rgb */ color: rgb(129, 27, 159);
/* oklch */ color: oklch(45.7% 0.202 316.7);
Tailwind
colors: {
  custom: {
    50: '#aa66bc',
    500: '#811b9f',
    950: '#000000',
  },
}
SCSS
$custom: #811b9f;
$custom-light: #aa66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#811b9f",
  "rgb": {
    "r": 129,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 286.364,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45682,
    "c": 0.20166,
    "h": 316.7
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#811B9F
secondary
#6BC551
accent
#EE3A63
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #811B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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