#81208C#81208C

#81208C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.181 H 323.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#81208C
RGBrgb(129, 32, 140)
HSLhsl(294, 63%, 34%)
HSVhsv(294, 77%, 55%)
CMYKcmyk(7.9%, 77.1%, 0%, 45.1%)
CIE-LABlab(33.12, 54.21, -38.61)
CIE-LCHlch(33.12, 66.56, 324.54°)
OKLaboklab(44.73% 0.1454 -0.1078)
OKLCHoklch(44.73% 0.181 323.4)
XYZxyz(14.3030, 7.5945, 25.5184)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81208C #2B8C20
analogous
#4B208C #81208C #8C2061
triadic
#81208C #8C8120 #208C81
tetradic
#81208C #8C4B20 #2B8C20 #20618C
square
#81208C #8C4B20 #2B8C20 #20618C
split-complementary
#81208C #618C20 #208C4B
monochromatic
#250928 #53155A #81208C #AF2BBE #C950D7

Accessibility & contrast

On white

8.34
#81208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#81208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81208C
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81208C#FFFFFF#000000##FFFFFF
##81208C1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#335289
Tritanopia (blue-blind)
#833455
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #81208c;
/* rgb */ color: rgb(129, 32, 140);
/* oklch */ color: oklch(44.7% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#a967ae',
    500: '#81208c',
    950: '#000000',
  },
}
SCSS
$custom: #81208c;
$custom-light: #a967ae;
$custom-dark: #000000;
JSON
{
  "hex": "#81208c",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 293.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4473,
    "c": 0.18097,
    "h": 323.4
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#81208C
secondary
#59BA4E
accent
#E64253
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #81208C

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

Preview Lab → · Contrast checker → · Palette generator →

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