#821D83#821D83

#821D83 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.177 H 327.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#821D83
RGBrgb(130, 29, 131)
HSLhsl(299, 64%, 31%)
HSVhsv(299, 78%, 51%)
CMYKcmyk(0.8%, 77.9%, 0%, 48.6%)
CIE-LABlab(32.40, 53.80, -34.17)
CIE-LCHlch(32.40, 63.73, 327.58°)
OKLaboklab(44.07% 0.1497 -0.0948)
OKLCHoklch(44.07% 0.177 327.6)
XYZxyz(13.7418, 7.2643, 22.1467)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D83 #1E831D
analogous
#4F1D83 #821D83 #831D51
triadic
#821D83 #83821D #1D8382
tetradic
#821D83 #834F1D #1E831D #1D5183
square
#821D83 #834F1D #1E831D #1D5183
split-complementary
#821D83 #51831D #1D834F
monochromatic
#1F071F #501251 #821D83 #B428B5 #D445D6

Accessibility & contrast

On white

8.56
#821D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821D83
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D83#FFFFFF#000000##FFFFFF
##821D831.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014486
Deuteranopia (green-blind)
#395181
Tritanopia (blue-blind)
#862E4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #821d83;
/* rgb */ color: rgb(130, 29, 131);
/* oklch */ color: oklch(44.1% 0.177 327.6);
Tailwind
colors: {
  custom: {
    50: '#aa66a7',
    500: '#821d83',
    950: '#000000',
  },
}
SCSS
$custom: #821d83;
$custom-light: #aa66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#821d83",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 299.412,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4407,
    "c": 0.17716,
    "h": 327.6
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#821D83
secondary
#47B646
accent
#E74143
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #821D83

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

Preview Lab → · Contrast checker → · Palette generator →

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