#81249D#81249D

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

Color values

HEX#81249D
RGBrgb(129, 36, 157)
HSLhsl(286, 63%, 38%)
HSVhsv(286, 77%, 62%)
CMYKcmyk(17.8%, 77.1%, 0%, 38.4%)
CIE-LABlab(34.73, 56.08, -46.44)
CIE-LCHlch(34.73, 72.81, 320.37°)
OKLaboklab(46.23% 0.1399 -0.1308)
OKLCHoklch(46.23% 0.191 316.9)
XYZxyz(15.7690, 8.3639, 32.6755)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81249D #409D24
analogous
#45249D #81249D #9D247C
triadic
#81249D #9D8124 #249D81
tetradic
#81249D #9D4524 #409D24 #247C9D
square
#81249D #9D4524 #409D24 #247C9D
split-complementary
#81249D #7C9D24 #249D45
monochromatic
#2F0D39 #58196B #81249D #AA2FCF #BE61DB

Accessibility & contrast

On white

7.86
#81249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81249D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81249D#FFFFFF#000000##FFFFFF
##81249D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#26549A
Tritanopia (blue-blind)
#7F3F60
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #81249d;
/* rgb */ color: rgb(129, 36, 157);
/* oklch */ color: oklch(46.2% 0.191 316.9);
Tailwind
colors: {
  custom: {
    50: '#aa69bb',
    500: '#81249d',
    950: '#000000',
  },
}
SCSS
$custom: #81249d;
$custom-light: #aa69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#81249d",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 286.116,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46229,
    "c": 0.19149,
    "h": 316.9
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#81249D
secondary
#74C05D
accent
#E64268
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81249D

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

Preview Lab → · Contrast checker → · Palette generator →

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