#81209F#81209F

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

Color values

HEX#81209F
RGBrgb(129, 32, 159)
HSLhsl(286, 66%, 37%)
HSVhsv(286, 80%, 62%)
CMYKcmyk(18.9%, 79.9%, 0%, 37.6%)
CIE-LABlab(34.40, 57.82, -48.17)
CIE-LCHlch(34.40, 75.26, 320.20°)
OKLaboklab(46.04% 0.143 -0.1358)
OKLCHoklch(46.04% 0.197 316.5)
XYZxyz(15.8268, 8.2040, 33.5440)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81209F #3E9F20
analogous
#42209F #81209F #9F207D
triadic
#81209F #9F8120 #209F81
tetradic
#81209F #9F4220 #3E9F20 #207D9F
square
#81209F #9F4220 #3E9F20 #207D9F
split-complementary
#81209F #7D9F20 #209F42
monochromatic
#2E0B39 #58166C #81209F #AA2AD2 #BF5BDE

Accessibility & contrast

On white

7.95
#81209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#81209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81209F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81209F#FFFFFF#000000##FFFFFF
##81209F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#1F549C
Tritanopia (blue-blind)
#7F3D60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #81209f;
/* rgb */ color: rgb(129, 32, 159);
/* oklch */ color: oklch(46.0% 0.197 316.5);
Tailwind
colors: {
  custom: {
    50: '#aa68bc',
    500: '#81209f',
    950: '#000000',
  },
}
SCSS
$custom: #81209f;
$custom-light: #aa68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#81209f",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 285.827,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46044,
    "c": 0.19724,
    "h": 316.5
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#81209F
secondary
#72C259
accent
#E93E67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81209F

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

Preview Lab → · Contrast checker → · Palette generator →

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