#81177F#81177F

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

Color values

HEX#81177F
RGBrgb(129, 23, 127)
HSLhsl(301, 70%, 30%)
HSVhsv(301, 82%, 51%)
CMYKcmyk(0%, 82.2%, 1.6%, 49.4%)
CIE-LABlab(31.38, 54.65, -33.30)
CIE-LCHlch(31.38, 64.00, 328.64°)
OKLaboklab(43.23% 0.1536 -0.0923)
OKLCHoklch(43.23% 0.179 329)
XYZxyz(13.1903, 6.8133, 20.6949)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81177F #178119
analogous
#4E1781 #81177F #81174A
triadic
#81177F #7F8117 #177F81
tetradic
#81177F #814E17 #178119 #174A81
square
#81177F #814E17 #178119 #174A81
split-complementary
#81177F #4A8117 #17814E
monochromatic
#1A051A #4D0E4C #81177F #B520B2 #DB37D8

Accessibility & contrast

On white

8.89
#81177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81177F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81177F#FFFFFF#000000##FFFFFF
##81177F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#384F7D
Tritanopia (blue-blind)
#86294C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81177f;
/* rgb */ color: rgb(129, 23, 127);
/* oklch */ color: oklch(43.2% 0.179 329.0);
Tailwind
colors: {
  custom: {
    50: '#a963a4',
    500: '#81177f',
    950: '#000000',
  },
}
SCSS
$custom: #81177f;
$custom-light: #a963a4;
$custom-dark: #000000;
JSON
{
  "hex": "#81177f",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 301.132,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.43231,
    "c": 0.1792,
    "h": 329
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#81177F
secondary
#3EB541
accent
#ED3F3B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81177F

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

Preview Lab → · Contrast checker → · Palette generator →

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