#81147E#81147E

#81147E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.181 H 329.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#81147E
RGBrgb(129, 20, 126)
HSLhsl(302, 73%, 29%)
HSVhsv(302, 84%, 51%)
CMYKcmyk(0%, 84.5%, 2.3%, 49.4%)
CIE-LABlab(31.05, 55.25, -33.19)
CIE-LCHlch(31.05, 64.45, 329.00°)
OKLaboklab(42.98% 0.1558 -0.0919)
OKLCHoklch(42.98% 0.181 329.5)
XYZxyz(13.0692, 6.6748, 20.3347)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81147E #148117
analogous
#4E1481 #81147E #811448
triadic
#81147E #7E8114 #147E81
tetradic
#81147E #814E14 #148117 #144881
square
#81147E #814E14 #148117 #144881
split-complementary
#81147E #488114 #14814E
monochromatic
#1A041A #4C0C4A #81147E #B61CB2 #DF30DA

Accessibility & contrast

On white

8.99
#81147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#81147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81147E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81147E#FFFFFF#000000##FFFFFF
##81147E1.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#86274A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81147e;
/* rgb */ color: rgb(129, 20, 126);
/* oklch */ color: oklch(43.0% 0.181 329.5);
Tailwind
colors: {
  custom: {
    50: '#a962a4',
    500: '#81147e',
    950: '#000000',
  },
}
SCSS
$custom: #81147e;
$custom-light: #a962a4;
$custom-dark: #000000;
JSON
{
  "hex": "#81147e",
  "rgb": {
    "r": 129,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 301.651,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.18092,
    "h": 329.5
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#81147E
secondary
#3BB63E
accent
#F03D38
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81147E

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

Preview Lab → · Contrast checker → · Palette generator →

#81147E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva