#81147A#81147A

#81147A is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.178 H 331.2°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#81147A
RGBrgb(129, 20, 122)
HSLhsl(304, 73%, 29%)
HSVhsv(304, 84%, 51%)
CMYKcmyk(0%, 84.5%, 5.4%, 49.4%)
CIE-LABlab(30.82, 54.60, -31.05)
CIE-LCHlch(30.82, 62.81, 330.38°)
OKLaboklab(42.74% 0.1559 -0.0857)
OKLCHoklch(42.74% 0.178 331.2)
XYZxyz(12.8163, 6.5737, 19.0024)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81147A #14811B
analogous
#521481 #81147A #811444
triadic
#81147A #7A8114 #147A81
tetradic
#81147A #815214 #14811B #144481
square
#81147A #815214 #14811B #144481
split-complementary
#81147A #448114 #148152
monochromatic
#1A0419 #4C0C48 #81147A #B61CAC #DF30D4

Accessibility & contrast

On white

9.07
#81147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#81147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81147A
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81147A#FFFFFF#000000##FFFFFF
##81147A1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033F7D
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#862448
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81147a;
/* rgb */ color: rgb(129, 20, 122);
/* oklch */ color: oklch(42.7% 0.178 331.2);
Tailwind
colors: {
  custom: {
    50: '#a962a1',
    500: '#81147a',
    950: '#000000',
  },
}
SCSS
$custom: #81147a;
$custom-light: #a962a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81147a",
  "rgb": {
    "r": 129,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 303.853,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42735,
    "c": 0.17794,
    "h": 331.2
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#81147A
secondary
#3BB643
accent
#F04438
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #81147A

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

Preview Lab → · Contrast checker → · Palette generator →

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