#81189F#81189F

#81189F is a mid, highly saturated purple. Relative luminance 0.078; OKLCH L 45.5% C 0.204 H 316.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#81189F
RGBrgb(129, 24, 159)
HSLhsl(287, 74%, 36%)
HSVhsv(287, 85%, 62%)
CMYKcmyk(18.9%, 84.9%, 0%, 37.6%)
CIE-LABlab(33.61, 60.12, -49.45)
CIE-LCHlch(33.61, 77.84, 320.56°)
OKLaboklab(45.49% 0.1489 -0.1395)
OKLCHoklch(45.49% 0.204 316.9)
XYZxyz(15.6370, 7.8243, 33.4807)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81189F #369F18
analogous
#3E189F #81189F #9F1879
triadic
#81189F #9F8118 #189F81
tetradic
#81189F #9F3E18 #369F18 #18799F
square
#81189F #9F3E18 #369F18 #18799F
split-complementary
#81189F #799F18 #189F3E
monochromatic
#2B0835 #56106A #81189F #AC20D4 #C34DE4

Accessibility & contrast

On white

8.19
#81189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#81189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81189F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81189F#FFFFFF#000000##FFFFFF
##81189F1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#7F3A5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #81189f;
/* rgb */ color: rgb(129, 24, 159);
/* oklch */ color: oklch(45.5% 0.204 316.9);
Tailwind
colors: {
  custom: {
    50: '#aa65bc',
    500: '#81189f',
    950: '#000000',
  },
}
SCSS
$custom: #81189f;
$custom-light: #aa65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#81189f",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 286.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4549,
    "c": 0.20402,
    "h": 316.9
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#81189F
secondary
#68C64D
accent
#F03760
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110612
muted
#807A81

Preview Lab

Preview with #81189F

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

Preview Lab → · Contrast checker → · Palette generator →

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