#821C7F#821C7F

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

Color values

HEX#821C7F
RGBrgb(130, 28, 127)
HSLhsl(302, 65%, 31%)
HSVhsv(302, 78%, 51%)
CMYKcmyk(0%, 78.5%, 2.3%, 49%)
CIE-LABlab(32.06, 53.43, -32.22)
CIE-LCHlch(32.06, 62.39, 328.91°)
OKLaboklab(43.75% 0.1506 -0.0891)
OKLCHoklch(43.75% 0.175 329.4)
XYZxyz(13.4518, 7.1097, 20.7384)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C7F #1C821F
analogous
#521C82 #821C7F #821C4C
triadic
#821C7F #7F821C #1C7F82
tetradic
#821C7F #82521C #1C821F #1C4C82
square
#821C7F #82521C #1C821F #1C4C82
split-complementary
#821C7F #4C821C #1C8252
monochromatic
#1D061D #50114E #821C7F #B427B0 #D642D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##821C7F#FFFFFF#000000##FFFFFF
##821C7F1.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)
#094382
Deuteranopia (green-blind)
#3B507D
Tritanopia (blue-blind)
#872B4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #821c7f;
/* rgb */ color: rgb(130, 28, 127);
/* oklch */ color: oklch(43.7% 0.175 329.4);
Tailwind
colors: {
  custom: {
    50: '#aa65a4',
    500: '#821c7f',
    950: '#000000',
  },
}
SCSS
$custom: #821c7f;
$custom-light: #aa65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#821c7f",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 301.765,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43747,
    "c": 0.175,
    "h": 329.4
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#821C7F
secondary
#44B548
accent
#E84540
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #821C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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