#81219D#81219D

#81219D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.195 H 317.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#81219D
RGBrgb(129, 33, 157)
HSLhsl(286, 65%, 37%)
HSVhsv(286, 79%, 62%)
CMYKcmyk(17.8%, 79%, 0%, 38.4%)
CIE-LABlab(34.38, 57.10, -47.01)
CIE-LCHlch(34.38, 73.96, 320.54°)
OKLaboklab(45.98% 0.1425 -0.1324)
OKLCHoklch(45.98% 0.195 317.1)
XYZxyz(15.6820, 8.1898, 32.6465)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81219D #3D9D21
analogous
#43219D #81219D #9D217B
triadic
#81219D #9D8121 #219D81
tetradic
#81219D #9D4321 #3D9D21 #217B9D
square
#81219D #9D4321 #3D9D21 #217B9D
split-complementary
#81219D #7B9D21 #219D43
monochromatic
#2E0C38 #57166A #81219D #AB2CD0 #C05CDD

Accessibility & contrast

On white

7.96
#81219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#81219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81219D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81219D#FFFFFF#000000##FFFFFF
##81219D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81219d;
/* rgb */ color: rgb(129, 33, 157);
/* oklch */ color: oklch(46.0% 0.195 317.1);
Tailwind
colors: {
  custom: {
    50: '#aa68bb',
    500: '#81219d',
    950: '#000000',
  },
}
SCSS
$custom: #81219d;
$custom-light: #aa68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#81219d",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 286.452,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45979,
    "c": 0.19453,
    "h": 317.1
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#81219D
secondary
#70C159
accent
#E84066
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #81219D

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

Preview Lab → · Contrast checker → · Palette generator →

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