#81177A#81177A

#81177A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.175 H 331.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#81177A
RGBrgb(129, 23, 122)
HSLhsl(304, 70%, 30%)
HSVhsv(304, 82%, 51%)
CMYKcmyk(0%, 82.2%, 5.4%, 49.4%)
CIE-LABlab(31.08, 53.83, -30.63)
CIE-LCHlch(31.08, 61.94, 330.36°)
OKLaboklab(42.92% 0.1537 -0.0845)
OKLCHoklch(42.92% 0.175 331.2)
XYZxyz(12.8725, 6.6861, 19.0212)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81177A #17811E
analogous
#531781 #81177A #811745
triadic
#81177A #7A8117 #177A81
tetradic
#81177A #815317 #17811E #174581
square
#81177A #815317 #17811E #174581
split-complementary
#81177A #458117 #178153
monochromatic
#1A0519 #4D0E49 #81177A #B520AB #DB37D1

Accessibility & contrast

On white

8.99
#81177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#81177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81177A
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81177A#FFFFFF#000000##FFFFFF
##81177A1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08407D
Deuteranopia (green-blind)
#3B4E78
Tritanopia (blue-blind)
#862649
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #81177a;
/* rgb */ color: rgb(129, 23, 122);
/* oklch */ color: oklch(42.9% 0.175 331.2);
Tailwind
colors: {
  custom: {
    50: '#a963a1',
    500: '#81177a',
    950: '#000000',
  },
}
SCSS
$custom: #81177a;
$custom-light: #a963a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81177a",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 303.962,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.42924,
    "c": 0.1754,
    "h": 331.2
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#81177A
secondary
#3EB546
accent
#ED473B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #81177A

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

Preview Lab → · Contrast checker → · Palette generator →

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