#821D80#821D80

#821D80 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.175 H 328.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#821D80
RGBrgb(130, 29, 128)
HSLhsl(301, 64%, 31%)
HSVhsv(301, 78%, 51%)
CMYKcmyk(0%, 77.7%, 1.5%, 49%)
CIE-LABlab(32.22, 53.29, -32.58)
CIE-LCHlch(32.22, 62.46, 328.56°)
OKLaboklab(43.89% 0.1497 -0.0902)
OKLCHoklch(43.89% 0.175 328.9)
XYZxyz(13.5414, 7.1841, 21.0913)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D80 #1D821F
analogous
#511D82 #821D80 #821D4D
triadic
#821D80 #80821D #1D8082
tetradic
#821D80 #82511D #1D821F #1D4D82
square
#821D80 #82511D #1D821F #1D4D82
split-complementary
#821D80 #4D821D #1D8251
monochromatic
#1E071D #50124F #821D80 #B428B1 #D544D2

Accessibility & contrast

On white

8.62
#821D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#821D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821D80
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D80#FFFFFF#000000##FFFFFF
##821D801.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094383
Deuteranopia (green-blind)
#3B507E
Tritanopia (blue-blind)
#872D4D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #821d80;
/* rgb */ color: rgb(130, 29, 128);
/* oklch */ color: oklch(43.9% 0.175 328.9);
Tailwind
colors: {
  custom: {
    50: '#aa65a5',
    500: '#821d80',
    950: '#000000',
  },
}
SCSS
$custom: #821d80;
$custom-light: #aa65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#821d80",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 301.188,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43885,
    "c": 0.17478,
    "h": 328.9
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#821D80
secondary
#46B548
accent
#E74541
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #821D80

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

Preview Lab → · Contrast checker → · Palette generator →

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