#821D7D#821D7D

#821D7D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.172 H 330.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#821D7D
RGBrgb(130, 29, 125)
HSLhsl(303, 64%, 31%)
HSVhsv(303, 78%, 51%)
CMYKcmyk(0%, 77.7%, 3.8%, 49%)
CIE-LABlab(32.05, 52.78, -30.97)
CIE-LCHlch(32.05, 61.20, 329.59°)
OKLaboklab(43.7% 0.1497 -0.0855)
OKLCHoklch(43.7% 0.172 330.3)
XYZxyz(13.3469, 7.1063, 20.0667)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D7D #1D8222
analogous
#541D82 #821D7D #821D4A
triadic
#821D7D #7D821D #1D7D82
tetradic
#821D7D #82541D #1D8222 #1D4A82
square
#821D7D #82541D #1D8222 #1D4A82
split-complementary
#821D7D #4A821D #1D8254
monochromatic
#1E071D #50124D #821D7D #B428AD #D544CE

Accessibility & contrast

On white

8.67
#821D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#821D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821D7D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D7D#FFFFFF#000000##FFFFFF
##821D7D1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4380
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#872B4C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #821d7d;
/* rgb */ color: rgb(130, 29, 125);
/* oklch */ color: oklch(43.7% 0.172 330.3);
Tailwind
colors: {
  custom: {
    50: '#aa65a3',
    500: '#821d7d',
    950: '#000000',
  },
}
SCSS
$custom: #821d7d;
$custom-light: #aa65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#821d7d",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 302.97,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43704,
    "c": 0.17242,
    "h": 330.3
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#821D7D
secondary
#46B54B
accent
#E74941
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #821D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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