#821E79#821E79

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

Color values

HEX#821E79
RGBrgb(130, 30, 121)
HSLhsl(305, 63%, 31%)
HSVhsv(305, 77%, 51%)
CMYKcmyk(0%, 76.9%, 6.9%, 49%)
CIE-LABlab(31.93, 51.80, -28.64)
CIE-LCHlch(31.93, 59.19, 331.07°)
OKLaboklab(43.55% 0.1487 -0.0788)
OKLCHoklch(43.55% 0.168 332.1)
XYZxyz(13.1214, 7.0559, 18.7563)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E79 #1E8227
analogous
#591E82 #821E79 #821E47
triadic
#821E79 #79821E #1E7982
tetradic
#821E79 #82591E #1E8227 #1E4782
square
#821E79 #82591E #1E8227 #1E4782
split-complementary
#821E79 #47821E #1E8259
monochromatic
#1F071C #50134B #821E79 #B429A7 #D446C8

Accessibility & contrast

On white

8.71
#821E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#821E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E79
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E79#FFFFFF#000000##FFFFFF
##821E791.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17427B
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#882A4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #821e79;
/* rgb */ color: rgb(130, 30, 121);
/* oklch */ color: oklch(43.5% 0.168 332.1);
Tailwind
colors: {
  custom: {
    50: '#aa66a0',
    500: '#821e79',
    950: '#000000',
  },
}
SCSS
$custom: #821e79;
$custom-light: #aa66a0;
$custom-dark: #000000;
JSON
{
  "hex": "#821e79",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 305.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.16825,
    "h": 332.1
  },
  "luminance": 0.07055
}

Semantic roles & 50–950 ramp

primary
#821E79
secondary
#47B551
accent
#E65142
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821E79

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

Preview Lab → · Contrast checker → · Palette generator →

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