#81289B#81289B

#81289B is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.185 H 317.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#81289B
RGBrgb(129, 40, 155)
HSLhsl(286, 59%, 38%)
HSVhsv(286, 74%, 61%)
CMYKcmyk(16.8%, 74.2%, 0%, 39.2%)
CIE-LABlab(35.11, 54.21, -44.62)
CIE-LCHlch(35.11, 70.21, 320.55°)
OKLaboklab(46.45% 0.1364 -0.1254)
OKLCHoklch(46.45% 0.185 317.4)
XYZxyz(15.7276, 8.5519, 31.8262)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81289B #429B28
analogous
#48289B #81289B #9B287B
triadic
#81289B #9B8128 #289B81
tetradic
#81289B #9B4828 #429B28 #287B9B
square
#81289B #9B4828 #429B28 #287B9B
split-complementary
#81289B #7B9B28 #289B48
monochromatic
#300F3A #591B6A #81289B #A935CB #BE66D7

Accessibility & contrast

On white

7.75
#81289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#81289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81289B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81289B#FFFFFF#000000##FFFFFF
##81289B1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#2B5598
Tritanopia (blue-blind)
#80405F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #81289b;
/* rgb */ color: rgb(129, 40, 155);
/* oklch */ color: oklch(46.5% 0.185 317.4);
Tailwind
colors: {
  custom: {
    50: '#a96bb9',
    500: '#81289b',
    950: '#000000',
  },
}
SCSS
$custom: #81289b;
$custom-light: #a96bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#81289b",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 286.435,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46453,
    "c": 0.18528,
    "h": 317.4
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#81289B
secondary
#76BD61
accent
#E24669
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #81289B

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

Preview Lab → · Contrast checker → · Palette generator →

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