#81147F#81147F

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

Color values

HEX#81147F
RGBrgb(129, 20, 127)
HSLhsl(301, 73%, 29%)
HSVhsv(301, 84%, 51%)
CMYKcmyk(0%, 84.5%, 1.6%, 49.4%)
CIE-LABlab(31.12, 55.41, -33.72)
CIE-LCHlch(31.12, 64.87, 328.68°)
OKLaboklab(43.05% 0.1558 -0.0935)
OKLCHoklch(43.05% 0.182 329)
XYZxyz(13.1341, 6.7008, 20.6762)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81147F #148116
analogous
#4D1481 #81147F #811449
triadic
#81147F #7F8114 #147F81
tetradic
#81147F #814D14 #148116 #144981
square
#81147F #814D14 #148116 #144981
split-complementary
#81147F #498114 #14814D
monochromatic
#1A041A #4C0C4B #81147F #B61CB3 #DF30DC

Accessibility & contrast

On white

8.97
#81147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#81147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81147F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81147F#FFFFFF#000000##FFFFFF
##81147F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#374E7D
Tritanopia (blue-blind)
#86274B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81147f;
/* rgb */ color: rgb(129, 20, 127);
/* oklch */ color: oklch(43.0% 0.182 329.0);
Tailwind
colors: {
  custom: {
    50: '#a962a4',
    500: '#81147f',
    950: '#000000',
  },
}
SCSS
$custom: #81147f;
$custom-light: #a962a4;
$custom-dark: #000000;
JSON
{
  "hex": "#81147f",
  "rgb": {
    "r": 129,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 301.101,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.43045,
    "c": 0.18168,
    "h": 329
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#81147F
secondary
#3BB63D
accent
#F03B38
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81147F

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

Preview Lab → · Contrast checker → · Palette generator →

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