#81147C#81147C

#81147C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.179 H 330.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#81147C
RGBrgb(129, 20, 124)
HSLhsl(303, 73%, 29%)
HSVhsv(303, 84%, 51%)
CMYKcmyk(0%, 84.5%, 3.9%, 49.4%)
CIE-LABlab(30.93, 54.92, -32.12)
CIE-LCHlch(30.93, 63.63, 329.68°)
OKLaboklab(42.86% 0.1559 -0.0888)
OKLCHoklch(42.86% 0.179 330.3)
XYZxyz(12.9415, 6.6237, 19.6618)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81147C #148119
analogous
#501481 #81147C #811446
triadic
#81147C #7C8114 #147C81
tetradic
#81147C #815014 #148119 #144681
square
#81147C #815014 #148119 #144681
split-complementary
#81147C #468114 #148150
monochromatic
#1A0419 #4C0C49 #81147C #B61CAF #DF30D7

Accessibility & contrast

On white

9.03
#81147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#81147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81147C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81147C#FFFFFF#000000##FFFFFF
##81147C1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#394E7A
Tritanopia (blue-blind)
#862649
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81147c;
/* rgb */ color: rgb(129, 20, 124);
/* oklch */ color: oklch(42.9% 0.179 330.3);
Tailwind
colors: {
  custom: {
    50: '#a962a2',
    500: '#81147c',
    950: '#000000',
  },
}
SCSS
$custom: #81147c;
$custom-light: #a962a2;
$custom-dark: #000000;
JSON
{
  "hex": "#81147c",
  "rgb": {
    "r": 129,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 302.752,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42858,
    "c": 0.17942,
    "h": 330.3
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#81147C
secondary
#3BB640
accent
#F04038
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81147C

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

Preview Lab → · Contrast checker → · Palette generator →

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