#821D79#821D79

#821D79 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.169 H 332.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#821D79
RGBrgb(130, 29, 121)
HSLhsl(305, 64%, 31%)
HSVhsv(305, 78%, 51%)
CMYKcmyk(0%, 77.7%, 6.9%, 49%)
CIE-LABlab(31.82, 52.13, -28.82)
CIE-LCHlch(31.82, 59.56, 331.07°)
OKLaboklab(43.47% 0.1496 -0.0793)
OKLCHoklch(43.47% 0.169 332.1)
XYZxyz(13.0965, 7.0061, 18.7480)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D79 #1D8226
analogous
#581D82 #821D79 #821D46
triadic
#821D79 #79821D #1D7982
tetradic
#821D79 #82581D #1D8226 #1D4682
square
#821D79 #82581D #1D8226 #1D4682
split-complementary
#821D79 #46821D #1D8258
monochromatic
#1E071C #50124A #821D79 #B428A8 #D544C8

Accessibility & contrast

On white

8.75
#821D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#821D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821D79
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D79#FFFFFF#000000##FFFFFF
##821D791.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15427B
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#88294A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #821d79;
/* rgb */ color: rgb(130, 29, 121);
/* oklch */ color: oklch(43.5% 0.169 332.1);
Tailwind
colors: {
  custom: {
    50: '#aa65a0',
    500: '#821d79',
    950: '#000000',
  },
}
SCSS
$custom: #821d79;
$custom-light: #aa65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#821d79",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 305.347,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43469,
    "c": 0.16933,
    "h": 332.1
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#821D79
secondary
#46B550
accent
#E75041
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821D79

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

Preview Lab → · Contrast checker → · Palette generator →

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