#811F8B#811F8B

#811F8B is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.181 H 323.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#811F8B
RGBrgb(129, 31, 139)
HSLhsl(294, 64%, 33%)
HSVhsv(294, 78%, 55%)
CMYKcmyk(7.2%, 77.7%, 0%, 45.5%)
CIE-LABlab(32.95, 54.36, -38.28)
CIE-LCHlch(32.95, 66.48, 324.85°)
OKLaboklab(44.58% 0.1463 -0.1068)
OKLCHoklch(44.58% 0.181 323.9)
XYZxyz(14.2030, 7.5121, 25.1230)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F8B #298B1F
analogous
#4B1F8B #811F8B #8B1F5F
triadic
#811F8B #8B811F #1F8B81
tetradic
#811F8B #8B4B1F #298B1F #1F5F8B
square
#811F8B #8B4B1F #298B1F #1F5F8B
split-complementary
#811F8B #5F8B1F #1F8B4B
monochromatic
#240927 #531459 #811F8B #AF2ABD #CB4DD7

Accessibility & contrast

On white

8.39
#811F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#811F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F8B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F8B#FFFFFF#000000##FFFFFF
##811F8B1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#833354
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811f8b;
/* rgb */ color: rgb(129, 31, 139);
/* oklch */ color: oklch(44.6% 0.181 323.9);
Tailwind
colors: {
  custom: {
    50: '#a967ad',
    500: '#811f8b',
    950: '#000000',
  },
}
SCSS
$custom: #811f8b;
$custom-light: #a967ad;
$custom-dark: #000000;
JSON
{
  "hex": "#811f8b",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 294.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44583,
    "c": 0.18117,
    "h": 323.9
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#811F8B
secondary
#56BA4C
accent
#E74151
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #811F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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