#81147B#81147B

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

Color values

HEX#81147B
RGBrgb(129, 20, 123)
HSLhsl(303, 73%, 29%)
HSVhsv(303, 84%, 51%)
CMYKcmyk(0%, 84.5%, 4.7%, 49.4%)
CIE-LABlab(30.88, 54.76, -31.59)
CIE-LCHlch(30.88, 63.22, 330.02°)
OKLaboklab(42.8% 0.1559 -0.0873)
OKLCHoklch(42.8% 0.179 330.8)
XYZxyz(12.8786, 6.5986, 19.3304)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81147B #14811A
analogous
#511481 #81147B #811445
triadic
#81147B #7B8114 #147B81
tetradic
#81147B #815114 #14811A #144581
square
#81147B #815114 #14811A #144581
split-complementary
#81147B #458114 #148151
monochromatic
#1A0419 #4C0C48 #81147B #B61CAE #DF30D5

Accessibility & contrast

On white

9.05
#81147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81147B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81147B#FFFFFF#000000##FFFFFF
##81147B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013F7E
Deuteranopia (green-blind)
#394E79
Tritanopia (blue-blind)
#862549
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81147b;
/* rgb */ color: rgb(129, 20, 123);
/* oklch */ color: oklch(42.8% 0.179 330.8);
Tailwind
colors: {
  custom: {
    50: '#a962a1',
    500: '#81147b',
    950: '#000000',
  },
}
SCSS
$custom: #81147b;
$custom-light: #a962a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81147b",
  "rgb": {
    "r": 129,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 303.303,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.42796,
    "c": 0.17868,
    "h": 330.8
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#81147B
secondary
#3BB642
accent
#F04238
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81147B

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

Preview Lab → · Contrast checker → · Palette generator →

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