#81219A#81219A

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

Color values

HEX#81219A
RGBrgb(129, 33, 154)
HSLhsl(288, 65%, 37%)
HSVhsv(288, 79%, 60%)
CMYKcmyk(16.2%, 78.6%, 0%, 39.6%)
CIE-LABlab(34.17, 56.52, -45.52)
CIE-LCHlch(34.17, 72.57, 321.15°)
OKLaboklab(45.77% 0.143 -0.128)
OKLCHoklch(45.77% 0.192 318.1)
XYZxyz(15.4290, 8.0887, 31.3141)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81219A #3A9A21
analogous
#44219A #81219A #9A2177
triadic
#81219A #9A8121 #219A81
tetradic
#81219A #9A4421 #3A9A21 #21779A
square
#81219A #9A4421 #3A9A21 #21779A
split-complementary
#81219A #779A21 #219A44
monochromatic
#2D0B35 #571668 #81219A #AB2CCC #C15ADC

Accessibility & contrast

On white

8.02
#81219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#81219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81219A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81219A#FFFFFF#000000##FFFFFF
##81219A1.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)
#004A9D
Deuteranopia (green-blind)
#275397
Tritanopia (blue-blind)
#803C5D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #81219a;
/* rgb */ color: rgb(129, 33, 154);
/* oklch */ color: oklch(45.8% 0.192 318.1);
Tailwind
colors: {
  custom: {
    50: '#aa68b8',
    500: '#81219a',
    950: '#000000',
  },
}
SCSS
$custom: #81219a;
$custom-light: #aa68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#81219a",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 287.603,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45765,
    "c": 0.19192,
    "h": 318.1
  },
  "luminance": 0.08088
}

Semantic roles & 50–950 ramp

primary
#81219A
secondary
#6DC057
accent
#E84063
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #81219A

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

Preview Lab → · Contrast checker → · Palette generator →

#81219A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva