#81209C#81209C

#81209C is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.195 H 317.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#81209C
RGBrgb(129, 32, 156)
HSLhsl(287, 66%, 37%)
HSVhsv(287, 79%, 61%)
CMYKcmyk(17.3%, 79.5%, 0%, 38.8%)
CIE-LABlab(34.19, 57.23, -46.69)
CIE-LCHlch(34.19, 73.86, 320.79°)
OKLaboklab(45.83% 0.1435 -0.1315)
OKLCHoklch(45.83% 0.195 317.5)
XYZxyz(15.5696, 8.1012, 32.1896)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81209C #3B9C20
analogous
#43209C #81209C #9C2079
triadic
#81209C #9C8120 #209C81
tetradic
#81209C #9C4320 #3B9C20 #20799C
square
#81209C #9C4320 #3B9C20 #20799C
split-complementary
#81209C #799C20 #209C43
monochromatic
#2D0B36 #571669 #81209C #AB2ACF #C059DD

Accessibility & contrast

On white

8.02
#81209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#81209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81209C
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81209C#FFFFFF#000000##FFFFFF
##81209C1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#245399
Tritanopia (blue-blind)
#803C5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #81209c;
/* rgb */ color: rgb(129, 32, 156);
/* oklch */ color: oklch(45.8% 0.195 317.5);
Tailwind
colors: {
  custom: {
    50: '#aa68ba',
    500: '#81209c',
    950: '#000000',
  },
}
SCSS
$custom: #81209c;
$custom-light: #aa68ba;
$custom-dark: #000000;
JSON
{
  "hex": "#81209c",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 286.935,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45828,
    "c": 0.19463,
    "h": 317.5
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#81209C
secondary
#6EC157
accent
#E93F64
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81209C

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

Preview Lab → · Contrast checker → · Palette generator →

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