#81249C#81249C

#81249C is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.191 H 317.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#81249C
RGBrgb(129, 36, 156)
HSLhsl(287, 63%, 38%)
HSVhsv(287, 77%, 61%)
CMYKcmyk(17.3%, 76.9%, 0%, 38.8%)
CIE-LABlab(34.66, 55.88, -45.94)
CIE-LCHlch(34.66, 72.34, 320.58°)
OKLaboklab(46.16% 0.14 -0.1293)
OKLCHoklch(46.16% 0.191 317.3)
XYZxyz(15.6840, 8.3299, 32.2277)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81249C #3F9C24
analogous
#45249C #81249C #9C247B
triadic
#81249C #9C8124 #249C81
tetradic
#81249C #9C4524 #3F9C24 #247B9C
square
#81249C #9C4524 #3F9C24 #247B9C
split-complementary
#81249C #7B9C24 #249C45
monochromatic
#2F0D39 #58196A #81249C #AA2FCE #BF60DA

Accessibility & contrast

On white

7.88
#81249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#81249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81249C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81249C#FFFFFF#000000##FFFFFF
##81249C1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#275499
Tritanopia (blue-blind)
#803E5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #81249c;
/* rgb */ color: rgb(129, 36, 156);
/* oklch */ color: oklch(46.2% 0.191 317.3);
Tailwind
colors: {
  custom: {
    50: '#a969ba',
    500: '#81249c',
    950: '#000000',
  },
}
SCSS
$custom: #81249c;
$custom-light: #a969ba;
$custom-dark: #000000;
JSON
{
  "hex": "#81249c",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 286.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46158,
    "c": 0.1906,
    "h": 317.3
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#81249C
secondary
#73BF5C
accent
#E64267
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81249C

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

Preview Lab → · Contrast checker → · Palette generator →

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