#81198B#81198B

#81198B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.187 H 324.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#81198B
RGBrgb(129, 25, 139)
HSLhsl(295, 70%, 32%)
HSVhsv(295, 82%, 55%)
CMYKcmyk(7.2%, 82%, 0%, 45.5%)
CIE-LABlab(32.32, 56.17, -39.28)
CIE-LCHlch(32.32, 68.54, 325.03°)
OKLaboklab(44.14% 0.1513 -0.1097)
OKLCHoklch(44.14% 0.187 324)
XYZxyz(14.0607, 7.2274, 25.0755)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81198B #238B19
analogous
#48198B #81198B #8B195C
triadic
#81198B #8B8119 #198B81
tetradic
#81198B #8B4819 #238B19 #195C8B
square
#81198B #8B4819 #238B19 #195C8B
split-complementary
#81198B #5C8B19 #198B48
monochromatic
#210623 #511057 #81198B #B122BF #CF41DD

Accessibility & contrast

On white

8.59
#81198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81198B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81198B#FFFFFF#000000##FFFFFF
##81198B1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#315088
Tritanopia (blue-blind)
#833053
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #81198b;
/* rgb */ color: rgb(129, 25, 139);
/* oklch */ color: oklch(44.1% 0.187 324.0);
Tailwind
colors: {
  custom: {
    50: '#a964ad',
    500: '#81198b',
    950: '#000000',
  },
}
SCSS
$custom: #81198b;
$custom-light: #a964ad;
$custom-dark: #000000;
JSON
{
  "hex": "#81198b",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 294.737,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44139,
    "c": 0.18688,
    "h": 324
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#81198B
secondary
#4DBE42
accent
#EC3B4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #81198B

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

Preview Lab → · Contrast checker → · Palette generator →

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