#821D82#821D82

#821D82 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.176 H 328.1°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#821D82
RGBrgb(130, 29, 130)
HSLhsl(300, 64%, 31%)
HSVhsv(300, 78%, 51%)
CMYKcmyk(0%, 77.7%, 0%, 49%)
CIE-LABlab(32.34, 53.63, -33.64)
CIE-LCHlch(32.34, 63.31, 327.90°)
OKLaboklab(44.01% 0.1497 -0.0933)
OKLCHoklch(44.01% 0.176 328.1)
XYZxyz(13.6744, 7.2373, 21.7915)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D82 #1D821D
analogous
#4F1D82 #821D82 #821D4F
triadic
#821D82 #82821D #1D8282
tetradic
#821D82 #824F1D #1D821D #1D4F82
square
#821D82 #824F1D #1D821D #1D4F82
split-complementary
#821D82 #4F821D #1D824F
monochromatic
#1E071E #501250 #821D82 #B428B4 #D544D5

Accessibility & contrast

On white

8.58
#821D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#821D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821D82
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D82#FFFFFF#000000##FFFFFF
##821D821.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044485
Deuteranopia (green-blind)
#3A5180
Tritanopia (blue-blind)
#862E4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #821d82;
/* rgb */ color: rgb(130, 29, 130);
/* oklch */ color: oklch(44.0% 0.176 328.1);
Tailwind
colors: {
  custom: {
    50: '#aa66a7',
    500: '#821d82',
    950: '#000000',
  },
}
SCSS
$custom: #821d82;
$custom-light: #aa66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#821d82",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 300,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44008,
    "c": 0.17635,
    "h": 328.1
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

primary
#821D82
secondary
#46B546
accent
#E74141
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #821D82

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

Preview Lab → · Contrast checker → · Palette generator →

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