#81198E#81198E

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

Color values

HEX#81198E
RGBrgb(129, 25, 142)
HSLhsl(293, 70%, 33%)
HSVhsv(293, 82%, 56%)
CMYKcmyk(9.2%, 82.4%, 0%, 44.3%)
CIE-LABlab(32.52, 56.70, -40.82)
CIE-LCHlch(32.52, 69.87, 324.25°)
OKLaboklab(44.34% 0.151 -0.1142)
OKLCHoklch(44.34% 0.189 322.9)
XYZxyz(14.2829, 7.3163, 26.2458)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81198E #268E19
analogous
#46198E #81198E #8E1961
triadic
#81198E #8E8119 #198E81
tetradic
#81198E #8E4619 #268E19 #19618E
square
#81198E #8E4619 #268E19 #19618E
split-complementary
#81198E #618E19 #198E46
monochromatic
#220726 #52105A #81198E #B022C2 #CD43DE

Accessibility & contrast

On white

8.53
#81198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81198E
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81198E#FFFFFF#000000##FFFFFF
##81198E1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#833255
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #81198e;
/* rgb */ color: rgb(129, 25, 142);
/* oklch */ color: oklch(44.3% 0.189 322.9);
Tailwind
colors: {
  custom: {
    50: '#a965b0',
    500: '#81198e',
    950: '#000000',
  },
}
SCSS
$custom: #81198e;
$custom-light: #a965b0;
$custom-dark: #000000;
JSON
{
  "hex": "#81198e",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 293.333,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.1893,
    "h": 322.9
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#81198E
secondary
#51BF44
accent
#ED3B4F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #81198E

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

Preview Lab → · Contrast checker → · Palette generator →

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