#821A71#821A71

#821A71 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.166 H 335.9°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#821A71
RGBrgb(130, 26, 113)
HSLhsl(310, 67%, 31%)
HSVhsv(310, 80%, 51%)
CMYKcmyk(0%, 80%, 13.1%, 49%)
CIE-LABlab(31.06, 51.79, -24.94)
CIE-LCHlch(31.06, 57.49, 334.29°)
OKLaboklab(42.78% 0.1519 -0.0681)
OKLCHoklch(42.78% 0.166 335.9)
XYZxyz(12.5562, 6.6780, 16.2473)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A71 #1A822B
analogous
#5F1A82 #821A71 #821A3D
triadic
#821A71 #71821A #1A7182
tetradic
#821A71 #825F1A #1A822B #1A3D82
square
#821A71 #825F1A #1A822B #1A3D82
split-complementary
#821A71 #3D821A #1A825F
monochromatic
#1C0618 #4F1045 #821A71 #B5249D #D83EBF

Accessibility & contrast

On white

8.99
#821A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#821A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821A71
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821A71#FFFFFF#000000##FFFFFF
##821A711.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F73
Deuteranopia (green-blind)
#414F6F
Tritanopia (blue-blind)
#892344
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821a71;
/* rgb */ color: rgb(130, 26, 113);
/* oklch */ color: oklch(42.8% 0.166 335.9);
Tailwind
colors: {
  custom: {
    50: '#aa649a',
    500: '#821a71',
    950: '#000000',
  },
}
SCSS
$custom: #821a71;
$custom-light: #aa649a;
$custom-dark: #000000;
JSON
{
  "hex": "#821a71",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 309.808,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42784,
    "c": 0.16647,
    "h": 335.9
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#821A71
secondary
#42B655
accent
#EA5A3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821A71

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

Preview Lab → · Contrast checker → · Palette generator →

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