#821A97#821A97

#821A97 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.2% C 0.196 H 319.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#821A97
RGBrgb(130, 26, 151)
HSLhsl(290, 71%, 35%)
HSVhsv(290, 83%, 59%)
CMYKcmyk(13.9%, 82.8%, 0%, 40.8%)
CIE-LABlab(33.39, 58.26, -44.93)
CIE-LCHlch(33.39, 73.58, 322.36°)
OKLaboklab(45.19% 0.1502 -0.1262)
OKLCHoklch(45.19% 0.196 319.9)
XYZxyz(15.1605, 7.7198, 29.9637)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A97 #2F971A
analogous
#441A97 #821A97 #971A6E
triadic
#821A97 #97821A #1A9782
tetradic
#821A97 #97441A #2F971A #1A6E97
square
#821A97 #97441A #2F971A #1A6E97
split-complementary
#821A97 #6E971A #1A9744
monochromatic
#28082F #551163 #821A97 #AF23CB #C74BE0

Accessibility & contrast

On white

8.26
#821A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#821A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821A97
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821A97#FFFFFF#000000##FFFFFF
##821A971.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#275294
Tritanopia (blue-blind)
#82375A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #821a97;
/* rgb */ color: rgb(130, 26, 151);
/* oklch */ color: oklch(45.2% 0.196 319.9);
Tailwind
colors: {
  custom: {
    50: '#aa66b6',
    500: '#821a97',
    950: '#000000',
  },
}
SCSS
$custom: #821a97;
$custom-light: #aa66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#821a97",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 289.92,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45186,
    "c": 0.19619,
    "h": 319.9
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#821A97
secondary
#5FC24B
accent
#ED3A58
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#110611
muted
#807A80

Preview Lab

Preview with #821A97

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

Preview Lab → · Contrast checker → · Palette generator →

#821A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva