#821E72#821E72

#821E72 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.163 H 335.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#821E72
RGBrgb(130, 30, 114)
HSLhsl(310, 63%, 31%)
HSVhsv(310, 77%, 51%)
CMYKcmyk(0%, 76.9%, 12.3%, 49%)
CIE-LABlab(31.56, 50.69, -24.80)
CIE-LCHlch(31.56, 56.43, 333.93°)
OKLaboklab(43.16% 0.1482 -0.0677)
OKLCHoklch(43.16% 0.163 335.4)
XYZxyz(12.7076, 6.8904, 16.5770)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E72 #1E822E
analogous
#601E82 #821E72 #821E40
triadic
#821E72 #72821E #1E7282
tetradic
#821E72 #82601E #1E822E #1E4082
square
#821E72 #82601E #1E822E #1E4082
split-complementary
#821E72 #40821E #1E8260
monochromatic
#1F071B #501346 #821E72 #B4299E #D446BE

Accessibility & contrast

On white

8.83
#821E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#821E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E72
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E72#FFFFFF#000000##FFFFFF
##821E721.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4174
Deuteranopia (green-blind)
#425070
Tritanopia (blue-blind)
#892646
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #821e72;
/* rgb */ color: rgb(130, 30, 114);
/* oklch */ color: oklch(43.2% 0.163 335.4);
Tailwind
colors: {
  custom: {
    50: '#aa659b',
    500: '#821e72',
    950: '#000000',
  },
}
SCSS
$custom: #821e72;
$custom-light: #aa659b;
$custom-dark: #000000;
JSON
{
  "hex": "#821e72",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 309.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43156,
    "c": 0.16297,
    "h": 335.4
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#821E72
secondary
#47B558
accent
#E65C42
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821E72

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

Preview Lab → · Contrast checker → · Palette generator →

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