#81177D#81177D

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

Color values

HEX#81177D
RGBrgb(129, 23, 125)
HSLhsl(302, 70%, 30%)
HSVhsv(302, 82%, 51%)
CMYKcmyk(0%, 82.2%, 3.1%, 49.4%)
CIE-LABlab(31.26, 54.32, -32.24)
CIE-LCHlch(31.26, 63.17, 329.31°)
OKLaboklab(43.11% 0.1537 -0.0892)
OKLCHoklch(43.11% 0.178 329.9)
XYZxyz(13.0613, 6.7616, 20.0153)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81177D #17811B
analogous
#501781 #81177D #811748
triadic
#81177D #7D8117 #177D81
tetradic
#81177D #815017 #17811B #174881
square
#81177D #815017 #17811B #174881
split-complementary
#81177D #488117 #178150
monochromatic
#1A0519 #4D0E4B #81177D #B520AF #DB37D5

Accessibility & contrast

On white

8.93
#81177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#81177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81177D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81177D#FFFFFF#000000##FFFFFF
##81177D1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014180
Deuteranopia (green-blind)
#394E7B
Tritanopia (blue-blind)
#86284A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81177d;
/* rgb */ color: rgb(129, 23, 125);
/* oklch */ color: oklch(43.1% 0.178 329.9);
Tailwind
colors: {
  custom: {
    50: '#a963a3',
    500: '#81177d',
    950: '#000000',
  },
}
SCSS
$custom: #81177d;
$custom-light: #a963a3;
$custom-dark: #000000;
JSON
{
  "hex": "#81177d",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 302.264,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43107,
    "c": 0.17767,
    "h": 329.9
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#81177D
secondary
#3EB543
accent
#ED423B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81177D

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

Preview Lab → · Contrast checker → · Palette generator →

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