#81117B#81117B

#81117B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.181 H 330.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#81117B
RGBrgb(129, 17, 123)
HSLhsl(303, 77%, 29%)
HSVhsv(303, 87%, 51%)
CMYKcmyk(0%, 86.8%, 4.7%, 49.4%)
CIE-LABlab(30.64, 55.45, -31.96)
CIE-LCHlch(30.64, 64.00, 330.04°)
OKLaboklab(42.63% 0.1579 -0.0883)
OKLCHoklch(42.63% 0.181 330.8)
XYZxyz(12.8288, 6.4992, 19.3139)
Luminance0.0650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81117B #118117
analogous
#4F1181 #81117B #811143
triadic
#81117B #7B8111 #117B81
tetradic
#81117B #814F11 #118117 #114381
square
#81117B #814F11 #118117 #114381
split-complementary
#81117B #438111 #11814F
monochromatic
#1B041A #4B0A47 #81117B #B718AF #E32AD9

Accessibility & contrast

On white

9.13
#81117B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#81117B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81117B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81117B#FFFFFF#000000##FFFFFF
##81117B1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#394D79
Tritanopia (blue-blind)
#862448
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #81117b;
/* rgb */ color: rgb(129, 17, 123);
/* oklch */ color: oklch(42.6% 0.181 330.8);
Tailwind
colors: {
  custom: {
    50: '#a961a1',
    500: '#81117b',
    950: '#000000',
  },
}
SCSS
$custom: #81117b;
$custom-light: #a961a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81117b",
  "rgb": {
    "r": 129,
    "g": 17,
    "b": 123
  },
  "hsl": {
    "h": 303.214,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.18094,
    "h": 330.8
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#81117B
secondary
#37B73E
accent
#F33F35
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81117B

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

Preview Lab → · Contrast checker → · Palette generator →

#81117B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva