#81249F#81249F

#81249F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.193 H 316.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#81249F
RGBrgb(129, 36, 159)
HSLhsl(285, 63%, 38%)
HSVhsv(285, 77%, 62%)
CMYKcmyk(18.9%, 77.4%, 0%, 37.6%)
CIE-LABlab(34.87, 56.48, -47.42)
CIE-LCHlch(34.87, 73.75, 319.98°)
OKLaboklab(46.37% 0.1396 -0.1336)
OKLCHoklch(46.37% 0.193 316.2)
XYZxyz(15.9412, 8.4327, 33.5821)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81249F #429F24
analogous
#43249F #81249F #9F247F
triadic
#81249F #9F8124 #249F81
tetradic
#81249F #9F4324 #429F24 #247F9F
square
#81249F #9F4324 #429F24 #247F9F
split-complementary
#81249F #7F9F24 #249F43
monochromatic
#300D3B #59196D #81249F #A930D0 #BE62DB

Accessibility & contrast

On white

7.82
#81249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#81249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81249F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81249F#FFFFFF#000000##FFFFFF
##81249F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#23559C
Tritanopia (blue-blind)
#7F3F61
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #81249f;
/* rgb */ color: rgb(129, 36, 159);
/* oklch */ color: oklch(46.4% 0.193 316.2);
Tailwind
colors: {
  custom: {
    50: '#aa6abc',
    500: '#81249f',
    950: '#000000',
  },
}
SCSS
$custom: #81249f;
$custom-light: #aa6abc;
$custom-dark: #000000;
JSON
{
  "hex": "#81249f",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 285.366,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46371,
    "c": 0.19327,
    "h": 316.2
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#81249F
secondary
#76C15E
accent
#E6426A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81249F

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

Preview Lab → · Contrast checker → · Palette generator →

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