#821C76#821C76

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

Color values

HEX#821C76
RGBrgb(130, 28, 118)
HSLhsl(307, 65%, 31%)
HSVhsv(307, 78%, 51%)
CMYKcmyk(0%, 78.5%, 9.2%, 49%)
CIE-LABlab(31.54, 51.96, -27.36)
CIE-LCHlch(31.54, 58.72, 332.23°)
OKLaboklab(43.22% 0.1504 -0.0751)
OKLCHoklch(43.22% 0.168 333.5)
XYZxyz(12.8913, 6.8855, 17.7861)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C76 #1C8228
analogous
#5B1C82 #821C76 #821C43
triadic
#821C76 #76821C #1C7682
tetradic
#821C76 #825B1C #1C8228 #1C4382
square
#821C76 #825B1C #1C8228 #1C4382
split-complementary
#821C76 #43821C #1C825B
monochromatic
#1D061B #501148 #821C76 #B427A4 #D642C5

Accessibility & contrast

On white

8.84
#821C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821C76
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C76#FFFFFF#000000##FFFFFF
##821C761.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184178
Deuteranopia (green-blind)
#404F74
Tritanopia (blue-blind)
#882748
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #821c76;
/* rgb */ color: rgb(130, 28, 118);
/* oklch */ color: oklch(43.2% 0.168 333.5);
Tailwind
colors: {
  custom: {
    50: '#aa659e',
    500: '#821c76',
    950: '#000000',
  },
}
SCSS
$custom: #821c76;
$custom-light: #aa659e;
$custom-dark: #000000;
JSON
{
  "hex": "#821c76",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 307.059,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.1681,
    "h": 333.5
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#821C76
secondary
#44B552
accent
#E85440
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821C76

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

Preview Lab → · Contrast checker → · Palette generator →

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