#81209E#81209E

#81209E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.196 H 316.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#81209E
RGBrgb(129, 32, 158)
HSLhsl(286, 66%, 37%)
HSVhsv(286, 80%, 62%)
CMYKcmyk(18.4%, 79.7%, 0%, 38%)
CIE-LABlab(34.33, 57.62, -47.68)
CIE-LCHlch(34.33, 74.79, 320.39°)
OKLaboklab(45.97% 0.1432 -0.1344)
OKLCHoklch(45.97% 0.196 316.8)
XYZxyz(15.7404, 8.1694, 33.0889)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81209E #3D9E20
analogous
#42209E #81209E #9E207C
triadic
#81209E #9E8120 #209E81
tetradic
#81209E #9E4220 #3D9E20 #207C9E
square
#81209E #9E4220 #3D9E20 #207C9E
split-complementary
#81209E #7C9E20 #209E42
monochromatic
#2E0B38 #57166B #81209E #AB2AD1 #C05BDE

Accessibility & contrast

On white

7.97
#81209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#81209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81209E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81209E#FFFFFF#000000##FFFFFF
##81209E1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#21539B
Tritanopia (blue-blind)
#7F3D5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #81209e;
/* rgb */ color: rgb(129, 32, 158);
/* oklch */ color: oklch(46.0% 0.196 316.8);
Tailwind
colors: {
  custom: {
    50: '#aa68bb',
    500: '#81209e',
    950: '#000000',
  },
}
SCSS
$custom: #81209e;
$custom-light: #aa68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#81209e",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 286.19,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45971,
    "c": 0.19636,
    "h": 316.8
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#81209E
secondary
#70C258
accent
#E93F66
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81209E

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

Preview Lab → · Contrast checker → · Palette generator →

#81209E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva