#81179F#81179F

#81179F is a mid, highly saturated purple. Relative luminance 0.078; OKLCH L 45.4% C 0.205 H 316.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#81179F
RGBrgb(129, 23, 159)
HSLhsl(287, 75%, 36%)
HSVhsv(287, 86%, 62%)
CMYKcmyk(18.9%, 85.5%, 0%, 37.6%)
CIE-LABlab(33.53, 60.37, -49.59)
CIE-LCHlch(33.53, 78.13, 320.60°)
OKLaboklab(45.43% 0.1495 -0.1399)
OKLCHoklch(45.43% 0.205 316.9)
XYZxyz(15.6167, 7.7838, 33.4740)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81179F #359F17
analogous
#3D179F #81179F #9F1779
triadic
#81179F #9F8117 #179F81
tetradic
#81179F #9F3D17 #359F17 #17799F
square
#81179F #9F3D17 #359F17 #17799F
split-complementary
#81179F #799F17 #179F3D
monochromatic
#2A0834 #560F6A #81179F #AC1FD4 #C34BE5

Accessibility & contrast

On white

8.21
#81179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#81179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81179F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81179F#FFFFFF#000000##FFFFFF
##81179F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#18529C
Tritanopia (blue-blind)
#7F3A5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #81179f;
/* rgb */ color: rgb(129, 23, 159);
/* oklch */ color: oklch(45.4% 0.205 316.9);
Tailwind
colors: {
  custom: {
    50: '#aa65bc',
    500: '#81179f',
    950: '#000000',
  },
}
SCSS
$custom: #81179f;
$custom-light: #aa65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#81179f",
  "rgb": {
    "r": 129,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 286.765,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4543,
    "c": 0.20477,
    "h": 316.9
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#81179F
secondary
#66C74B
accent
#F13660
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110612
muted
#807A81

Preview Lab

Preview with #81179F

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

Preview Lab → · Contrast checker → · Palette generator →

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