#81259C#81259C

#81259C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.190 H 317.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#81259C
RGBrgb(129, 37, 156)
HSLhsl(286, 62%, 38%)
HSVhsv(286, 76%, 61%)
CMYKcmyk(17.3%, 76.3%, 0%, 38.8%)
CIE-LABlab(34.78, 55.53, -45.74)
CIE-LCHlch(34.78, 71.94, 320.52°)
OKLaboklab(46.25% 0.1391 -0.1287)
OKLCHoklch(46.25% 0.19 317.2)
XYZxyz(15.7147, 8.3912, 32.2379)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81259C #409C25
analogous
#46259C #81259C #9C257B
triadic
#81259C #9C8125 #259C81
tetradic
#81259C #9C4625 #409C25 #257B9C
square
#81259C #9C4625 #409C25 #257B9C
split-complementary
#81259C #7B9C25 #259C46
monochromatic
#2F0E39 #58196B #81259C #AA31CD #BE62DA

Accessibility & contrast

On white

7.84
#81259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#81259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81259C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81259C#FFFFFF#000000##FFFFFF
##81259C1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#285499
Tritanopia (blue-blind)
#803F5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #81259c;
/* rgb */ color: rgb(129, 37, 156);
/* oklch */ color: oklch(46.2% 0.190 317.2);
Tailwind
colors: {
  custom: {
    50: '#a96aba',
    500: '#81259c',
    950: '#000000',
  },
}
SCSS
$custom: #81259c;
$custom-light: #a96aba;
$custom-dark: #000000;
JSON
{
  "hex": "#81259c",
  "rgb": {
    "r": 129,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 286.387,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46246,
    "c": 0.18953,
    "h": 317.2
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#81259C
secondary
#74BF5E
accent
#E54368
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81259C

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

Preview Lab → · Contrast checker → · Palette generator →

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