#81197C#81197C

#81197C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.175 H 330.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#81197C
RGBrgb(129, 25, 124)
HSLhsl(303, 68%, 30%)
HSVhsv(303, 81%, 51%)
CMYKcmyk(0%, 80.6%, 3.9%, 49.4%)
CIE-LABlab(31.39, 53.60, -31.40)
CIE-LCHlch(31.39, 62.12, 329.64°)
OKLaboklab(43.18% 0.1521 -0.0868)
OKLCHoklch(43.18% 0.175 330.3)
XYZxyz(13.0389, 6.8187, 19.6943)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81197C #19811E
analogous
#521981 #81197C #811948
triadic
#81197C #7C8119 #197C81
tetradic
#81197C #815219 #19811E #194881
square
#81197C #815219 #19811E #194881
split-complementary
#81197C #488119 #198152
monochromatic
#1A0519 #4E0F4B #81197C #B423AD #D93BD1

Accessibility & contrast

On white

8.88
#81197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#81197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81197C
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81197C#FFFFFF#000000##FFFFFF
##81197C1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08417F
Deuteranopia (green-blind)
#3B4F7A
Tritanopia (blue-blind)
#86284A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #81197c;
/* rgb */ color: rgb(129, 25, 124);
/* oklch */ color: oklch(43.2% 0.175 330.3);
Tailwind
colors: {
  custom: {
    50: '#a964a2',
    500: '#81197c',
    950: '#000000',
  },
}
SCSS
$custom: #81197c;
$custom-light: #a964a2;
$custom-dark: #000000;
JSON
{
  "hex": "#81197c",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 302.885,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43182,
    "c": 0.1751,
    "h": 330.3
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#81197C
secondary
#41B546
accent
#EA463D
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #81197C

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

Preview Lab → · Contrast checker → · Palette generator →

#81197C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva