#81198F#81198F

#81198F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.4% C 0.190 H 322.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#81198F
RGBrgb(129, 25, 143)
HSLhsl(293, 70%, 33%)
HSVhsv(293, 83%, 56%)
CMYKcmyk(9.8%, 82.5%, 0%, 43.9%)
CIE-LABlab(32.58, 56.88, -41.33)
CIE-LCHlch(32.58, 70.31, 324.00°)
OKLaboklab(44.41% 0.1508 -0.1157)
OKLCHoklch(44.41% 0.19 322.5)
XYZxyz(14.3583, 7.3464, 26.6430)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81198F #278F19
analogous
#46198F #81198F #8F1962
triadic
#81198F #8F8119 #198F81
tetradic
#81198F #8F4619 #278F19 #19628F
square
#81198F #8F4619 #278F19 #19628F
split-complementary
#81198F #628F19 #198F46
monochromatic
#230727 #52105B #81198F #B022C3 #CC44DE

Accessibility & contrast

On white

8.50
#81198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#81198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81198F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81198F#FFFFFF#000000##FFFFFF
##81198F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#833255
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #81198f;
/* rgb */ color: rgb(129, 25, 143);
/* oklch */ color: oklch(44.4% 0.190 322.5);
Tailwind
colors: {
  custom: {
    50: '#a965b0',
    500: '#81198f',
    950: '#000000',
  },
}
SCSS
$custom: #81198f;
$custom-light: #a965b0;
$custom-dark: #000000;
JSON
{
  "hex": "#81198f",
  "rgb": {
    "r": 129,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 292.881,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4441,
    "c": 0.19011,
    "h": 322.5
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#81198F
secondary
#53BF44
accent
#ED3B50
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #81198F

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

Preview Lab → · Contrast checker → · Palette generator →

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