#81168F#81168F

#81168F is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.2% C 0.193 H 322.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#81168F
RGBrgb(129, 22, 143)
HSLhsl(293, 73%, 32%)
HSVhsv(293, 85%, 56%)
CMYKcmyk(9.8%, 84.6%, 0%, 43.9%)
CIE-LABlab(32.31, 57.67, -41.76)
CIE-LCHlch(32.31, 71.20, 324.09°)
OKLaboklab(44.22% 0.153 -0.117)
OKLCHoklch(44.22% 0.193 322.6)
XYZxyz(14.2976, 7.2250, 26.6228)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81168F #248F16
analogous
#45168F #81168F #8F1660
triadic
#81168F #8F8116 #168F81
tetradic
#81168F #8F4516 #248F16 #16608F
square
#81168F #8F4516 #248F16 #16608F
split-complementary
#81168F #608F16 #168F45
monochromatic
#210625 #510E5A #81168F #B11EC4 #CE3EE1

Accessibility & contrast

On white

8.59
#81168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#81168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81168F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81168F#FFFFFF#000000##FFFFFF
##81168F1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#2C508C
Tritanopia (blue-blind)
#833155
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #81168f;
/* rgb */ color: rgb(129, 22, 143);
/* oklch */ color: oklch(44.2% 0.193 322.6);
Tailwind
colors: {
  custom: {
    50: '#aa64b0',
    500: '#81168f',
    950: '#000000',
  },
}
SCSS
$custom: #81168f;
$custom-light: #aa64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#81168f",
  "rgb": {
    "r": 129,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 293.058,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4422,
    "c": 0.19255,
    "h": 322.6
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#81168F
secondary
#4EC13F
accent
#F0384D
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #81168F

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

Preview Lab → · Contrast checker → · Palette generator →

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