#81259A#81259A

#81259A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.188 H 317.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#81259A
RGBrgb(129, 37, 154)
HSLhsl(287, 61%, 37%)
HSVhsv(287, 76%, 60%)
CMYKcmyk(16.2%, 76%, 0%, 39.6%)
CIE-LABlab(34.65, 55.13, -44.74)
CIE-LCHlch(34.65, 71.00, 320.94°)
OKLaboklab(46.11% 0.1394 -0.1258)
OKLCHoklch(46.11% 0.188 317.9)
XYZxyz(15.5467, 8.3241, 31.3534)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81259A #3E9A25
analogous
#46259A #81259A #9A2579
triadic
#81259A #9A8125 #259A81
tetradic
#81259A #9A4625 #3E9A25 #25799A
square
#81259A #9A4625 #3E9A25 #25799A
split-complementary
#81259A #799A25 #259A46
monochromatic
#2E0D37 #581969 #81259A #AA31CB #BF60D9

Accessibility & contrast

On white

7.88
#81259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#81259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81259A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81259A#FFFFFF#000000##FFFFFF
##81259A1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#2A5497
Tritanopia (blue-blind)
#803E5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #81259a;
/* rgb */ color: rgb(129, 37, 154);
/* oklch */ color: oklch(46.1% 0.188 317.9);
Tailwind
colors: {
  custom: {
    50: '#a96ab8',
    500: '#81259a',
    950: '#000000',
  },
}
SCSS
$custom: #81259a;
$custom-light: #a96ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#81259a",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 287.179,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46107,
    "c": 0.18775,
    "h": 317.9
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#81259A
secondary
#72BE5D
accent
#E44366
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #81259A

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

Preview Lab → · Contrast checker → · Palette generator →

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