#81198D#81198D

#81198D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.188 H 323.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#81198D
RGBrgb(129, 25, 141)
HSLhsl(294, 70%, 33%)
HSVhsv(294, 82%, 55%)
CMYKcmyk(8.5%, 82.3%, 0%, 44.7%)
CIE-LABlab(32.45, 56.52, -40.31)
CIE-LCHlch(32.45, 69.42, 324.51°)
OKLaboklab(44.27% 0.1511 -0.1127)
OKLCHoklch(44.27% 0.188 323.3)
XYZxyz(14.2082, 7.2864, 25.8522)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81198D #258D19
analogous
#47198D #81198D #8D195F
triadic
#81198D #8D8119 #198D81
tetradic
#81198D #8D4719 #258D19 #195F8D
square
#81198D #8D4719 #258D19 #195F8D
split-complementary
#81198D #5F8D19 #198D47
monochromatic
#220725 #511059 #81198D #B122C1 #CE43DE

Accessibility & contrast

On white

8.55
#81198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#81198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81198D
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81198D#FFFFFF#000000##FFFFFF
##81198D1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#2F508A
Tritanopia (blue-blind)
#833154
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #81198d;
/* rgb */ color: rgb(129, 25, 141);
/* oklch */ color: oklch(44.3% 0.188 323.3);
Tailwind
colors: {
  custom: {
    50: '#a965af',
    500: '#81198d',
    950: '#000000',
  },
}
SCSS
$custom: #81198d;
$custom-light: #a965af;
$custom-dark: #000000;
JSON
{
  "hex": "#81198d",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 293.793,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44274,
    "c": 0.18849,
    "h": 323.3
  },
  "luminance": 0.07285
}

Semantic roles & 50–950 ramp

primary
#81198D
secondary
#50BF43
accent
#ED3B4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #81198D

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

Preview Lab → · Contrast checker → · Palette generator →

#81198D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva