#81198C#81198C

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

Color values

HEX#81198C
RGBrgb(129, 25, 140)
HSLhsl(294, 70%, 32%)
HSVhsv(294, 82%, 55%)
CMYKcmyk(7.9%, 82.1%, 0%, 45.1%)
CIE-LABlab(32.38, 56.35, -39.80)
CIE-LCHlch(32.38, 68.98, 324.77°)
OKLaboklab(44.21% 0.1512 -0.1112)
OKLCHoklch(44.21% 0.188 323.7)
XYZxyz(14.1341, 7.2567, 25.4621)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81198C #248C19
analogous
#48198C #81198C #8C195D
triadic
#81198C #8C8119 #198C81
tetradic
#81198C #8C4819 #248C19 #195D8C
square
#81198C #8C4819 #248C19 #195D8C
split-complementary
#81198C #5D8C19 #198C48
monochromatic
#210624 #511058 #81198C #B122C0 #CE42DD

Accessibility & contrast

On white

8.57
#81198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#81198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81198C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81198C#FFFFFF#000000##FFFFFF
##81198C1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#305089
Tritanopia (blue-blind)
#833153
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #81198c;
/* rgb */ color: rgb(129, 25, 140);
/* oklch */ color: oklch(44.2% 0.188 323.7);
Tailwind
colors: {
  custom: {
    50: '#a964ae',
    500: '#81198c',
    950: '#000000',
  },
}
SCSS
$custom: #81198c;
$custom-light: #a964ae;
$custom-dark: #000000;
JSON
{
  "hex": "#81198c",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 294.261,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44206,
    "c": 0.18768,
    "h": 323.7
  },
  "luminance": 0.07256
}

Semantic roles & 50–950 ramp

primary
#81198C
secondary
#4EBE43
accent
#ED3B4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #81198C

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

Preview Lab → · Contrast checker → · Palette generator →

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