#81117A#81117A

#81117A is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.180 H 331.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#81117A
RGBrgb(129, 17, 122)
HSLhsl(304, 77%, 29%)
HSVhsv(304, 87%, 51%)
CMYKcmyk(0%, 86.8%, 5.4%, 49.4%)
CIE-LABlab(30.58, 55.29, -31.43)
CIE-LCHlch(30.58, 63.60, 330.39°)
OKLaboklab(42.57% 0.1579 -0.0868)
OKLCHoklch(42.57% 0.18 331.2)
XYZxyz(12.7666, 6.4743, 18.9859)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81117A #118118
analogous
#501181 #81117A #811142
triadic
#81117A #7A8111 #117A81
tetradic
#81117A #815011 #118118 #114281
square
#81117A #815011 #118118 #114281
split-complementary
#81117A #428111 #118150
monochromatic
#1B041A #4B0A47 #81117A #B718AD #E32AD7

Accessibility & contrast

On white

9.15
#81117A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#81117A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81117A
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81117A#FFFFFF#000000##FFFFFF
##81117A1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#872348
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81117a;
/* rgb */ color: rgb(129, 17, 122);
/* oklch */ color: oklch(42.6% 0.180 331.2);
Tailwind
colors: {
  custom: {
    50: '#a961a1',
    500: '#81117a',
    950: '#000000',
  },
}
SCSS
$custom: #81117a;
$custom-light: #a961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81117a",
  "rgb": {
    "r": 129,
    "g": 17,
    "b": 122
  },
  "hsl": {
    "h": 303.75,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42567,
    "c": 0.18021,
    "h": 331.2
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#81117A
secondary
#37B73F
accent
#F34035
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #81117A

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

Preview Lab → · Contrast checker → · Palette generator →

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