#81209D#81209D

#81209D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.196 H 317.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#81209D
RGBrgb(129, 32, 157)
HSLhsl(287, 66%, 37%)
HSVhsv(287, 80%, 62%)
CMYKcmyk(17.8%, 79.6%, 0%, 38.4%)
CIE-LABlab(34.26, 57.43, -47.19)
CIE-LCHlch(34.26, 74.33, 320.59°)
OKLaboklab(45.9% 0.1433 -0.1329)
OKLCHoklch(45.9% 0.196 317.2)
XYZxyz(15.6547, 8.1352, 32.6374)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81209D #3C9D20
analogous
#43209D #81209D #9D207B
triadic
#81209D #9D8120 #209D81
tetradic
#81209D #9D4320 #3C9D20 #207B9D
square
#81209D #9D4320 #3C9D20 #207B9D
split-complementary
#81209D #7B9D20 #209D43
monochromatic
#2D0B37 #57166A #81209D #AB2AD0 #C05ADD

Accessibility & contrast

On white

7.99
#81209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #81209D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81209D#FFFFFF#000000##FFFFFF
##81209D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#22539A
Tritanopia (blue-blind)
#803D5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #81209d;
/* rgb */ color: rgb(129, 32, 157);
/* oklch */ color: oklch(45.9% 0.196 317.2);
Tailwind
colors: {
  custom: {
    50: '#aa68bb',
    500: '#81209d',
    950: '#000000',
  },
}
SCSS
$custom: #81209d;
$custom-light: #aa68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#81209d",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 286.56,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45899,
    "c": 0.1955,
    "h": 317.2
  },
  "luminance": 0.08134
}

Semantic roles & 50–950 ramp

primary
#81209D
secondary
#6FC157
accent
#E93F65
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81209D

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

Preview Lab → · Contrast checker → · Palette generator →

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