#81289A#81289A

#81289A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.184 H 317.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#81289A
RGBrgb(129, 40, 154)
HSLhsl(287, 59%, 38%)
HSVhsv(287, 74%, 60%)
CMYKcmyk(16.2%, 74%, 0%, 39.6%)
CIE-LABlab(35.04, 54.01, -44.12)
CIE-LCHlch(35.04, 69.74, 320.76°)
OKLaboklab(46.38% 0.1365 -0.124)
OKLCHoklch(46.38% 0.184 317.7)
XYZxyz(15.6440, 8.5185, 31.3858)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81289A #419A28
analogous
#48289A #81289A #9A287A
triadic
#81289A #9A8128 #289A81
tetradic
#81289A #9A4828 #419A28 #287A9A
square
#81289A #9A4828 #419A28 #287A9A
split-complementary
#81289A #7A9A28 #289A48
monochromatic
#300F39 #581B69 #81289A #AA35CA #BE65D7

Accessibility & contrast

On white

7.77
#81289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#81289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81289A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81289A#FFFFFF#000000##FFFFFF
##81289A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#2C5597
Tritanopia (blue-blind)
#803F5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #81289a;
/* rgb */ color: rgb(129, 40, 154);
/* oklch */ color: oklch(46.4% 0.184 317.7);
Tailwind
colors: {
  custom: {
    50: '#a96bb8',
    500: '#81289a',
    950: '#000000',
  },
}
SCSS
$custom: #81289a;
$custom-light: #a96bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#81289a",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 286.842,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46384,
    "c": 0.18438,
    "h": 317.7
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#81289A
secondary
#75BD61
accent
#E24668
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #81289A

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

Preview Lab → · Contrast checker → · Palette generator →

#81289A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva