#81289F#81289F

#81289F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.189 H 316.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#81289F
RGBrgb(129, 40, 159)
HSLhsl(285, 60%, 39%)
HSVhsv(285, 75%, 62%)
CMYKcmyk(18.9%, 74.8%, 0%, 37.6%)
CIE-LABlab(35.38, 55.02, -46.60)
CIE-LCHlch(35.38, 72.10, 319.73°)
OKLaboklab(46.73% 0.1359 -0.1313)
OKLCHoklch(46.73% 0.189 316)
XYZxyz(16.0691, 8.6885, 33.6248)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81289F #469F28
analogous
#46289F #81289F #9F2882
triadic
#81289F #9F8128 #289F81
tetradic
#81289F #9F4628 #469F28 #28829F
square
#81289F #9F4628 #469F28 #28829F
split-complementary
#81289F #829F28 #289F46
monochromatic
#320F3D #591C6E #81289F #A737CD #BD68D9

Accessibility & contrast

On white

7.67
#81289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#81289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81289F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81289F#FFFFFF#000000##FFFFFF
##81289F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#27569C
Tritanopia (blue-blind)
#7F4262
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #81289f;
/* rgb */ color: rgb(129, 40, 159);
/* oklch */ color: oklch(46.7% 0.189 316.0);
Tailwind
colors: {
  custom: {
    50: '#a96bbc',
    500: '#81289f',
    950: '#000000',
  },
}
SCSS
$custom: #81289f;
$custom-light: #a96bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#81289f",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 284.874,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46732,
    "c": 0.18894,
    "h": 316
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#81289F
secondary
#7BBF64
accent
#E3456D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81289F

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

Preview Lab → · Contrast checker → · Palette generator →

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