#811F88#811F88

#811F88 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.179 H 325.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#811F88
RGBrgb(129, 31, 136)
HSLhsl(296, 63%, 33%)
HSVhsv(296, 77%, 53%)
CMYKcmyk(5.1%, 77.2%, 0%, 46.7%)
CIE-LABlab(32.76, 53.82, -36.72)
CIE-LCHlch(32.76, 65.15, 325.69°)
OKLaboklab(44.39% 0.1465 -0.1023)
OKLCHoklch(44.39% 0.179 325.1)
XYZxyz(13.9868, 7.4256, 23.9844)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F88 #26881F
analogous
#4C1F88 #811F88 #881F5A
triadic
#811F88 #88811F #1F8881
tetradic
#811F88 #884C1F #26881F #1F5A88
square
#811F88 #884C1F #26881F #1F5A88
split-complementary
#811F88 #5A881F #1F884C
monochromatic
#220824 #521456 #811F88 #B02ABA #CD4BD6

Accessibility & contrast

On white

8.45
#811F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#811F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F88
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F88#FFFFFF#000000##FFFFFF
##811F881.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#365186
Tritanopia (blue-blind)
#843252
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #811f88;
/* rgb */ color: rgb(129, 31, 136);
/* oklch */ color: oklch(44.4% 0.179 325.1);
Tailwind
colors: {
  custom: {
    50: '#a966ab',
    500: '#811f88',
    950: '#000000',
  },
}
SCSS
$custom: #811f88;
$custom-light: #a966ab;
$custom-dark: #000000;
JSON
{
  "hex": "#811f88",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 296,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.17869,
    "h": 325.1
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#811F88
secondary
#51B94A
accent
#E6424D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #811F88

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

Preview Lab → · Contrast checker → · Palette generator →

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