#81249A#81249A

#81249A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.189 H 318.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#81249A
RGBrgb(129, 36, 154)
HSLhsl(287, 62%, 37%)
HSVhsv(287, 77%, 60%)
CMYKcmyk(16.2%, 76.6%, 0%, 39.6%)
CIE-LABlab(34.52, 55.49, -44.95)
CIE-LCHlch(34.52, 71.41, 320.99°)
OKLaboklab(46.02% 0.1403 -0.1264)
OKLCHoklch(46.02% 0.189 318)
XYZxyz(15.5160, 8.2627, 31.3431)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81249A #3D9A24
analogous
#46249A #81249A #9A2478
triadic
#81249A #9A8124 #249A81
tetradic
#81249A #9A4624 #3D9A24 #24789A
square
#81249A #9A4624 #3D9A24 #24789A
split-complementary
#81249A #789A24 #249A46
monochromatic
#2E0D37 #571868 #81249A #AB30CC #C05FDA

Accessibility & contrast

On white

7.92
#81249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#81249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81249A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81249A#FFFFFF#000000##FFFFFF
##81249A1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#295497
Tritanopia (blue-blind)
#803D5E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #81249a;
/* rgb */ color: rgb(129, 36, 154);
/* oklch */ color: oklch(46.0% 0.189 318.0);
Tailwind
colors: {
  custom: {
    50: '#a969b8',
    500: '#81249a',
    950: '#000000',
  },
}
SCSS
$custom: #81249a;
$custom-light: #a969b8;
$custom-dark: #000000;
JSON
{
  "hex": "#81249a",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 287.288,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46018,
    "c": 0.18882,
    "h": 318
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#81249A
secondary
#70BF5B
accent
#E54365
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #81249A

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

Preview Lab → · Contrast checker → · Palette generator →

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