#81177E#81177E

#81177E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.178 H 329.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#81177E
RGBrgb(129, 23, 126)
HSLhsl(302, 70%, 30%)
HSVhsv(302, 82%, 51%)
CMYKcmyk(0%, 82.2%, 2.3%, 49.4%)
CIE-LABlab(31.32, 54.49, -32.77)
CIE-LCHlch(31.32, 63.58, 328.97°)
OKLaboklab(43.17% 0.1536 -0.0907)
OKLCHoklch(43.17% 0.178 329.4)
XYZxyz(13.1255, 6.7873, 20.3534)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81177E #17811A
analogous
#4F1781 #81177E #811749
triadic
#81177E #7E8117 #177E81
tetradic
#81177E #814F17 #17811A #174981
square
#81177E #814F17 #17811A #174981
split-complementary
#81177E #498117 #17814F
monochromatic
#1A0519 #4D0E4B #81177E #B520B1 #DB37D7

Accessibility & contrast

On white

8.91
#81177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#81177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81177E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81177E#FFFFFF#000000##FFFFFF
##81177E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#394E7C
Tritanopia (blue-blind)
#86284B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81177e;
/* rgb */ color: rgb(129, 23, 126);
/* oklch */ color: oklch(43.2% 0.178 329.4);
Tailwind
colors: {
  custom: {
    50: '#a963a4',
    500: '#81177e',
    950: '#000000',
  },
}
SCSS
$custom: #81177e;
$custom-light: #a963a4;
$custom-dark: #000000;
JSON
{
  "hex": "#81177e",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 301.698,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43169,
    "c": 0.17843,
    "h": 329.4
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#81177E
secondary
#3EB542
accent
#ED403B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81177E

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

Preview Lab → · Contrast checker → · Palette generator →

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