#821E80#821E80

#821E80 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.174 H 328.9°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#821E80
RGBrgb(130, 30, 128)
HSLhsl(301, 63%, 31%)
HSVhsv(301, 77%, 51%)
CMYKcmyk(0%, 76.9%, 1.5%, 49%)
CIE-LABlab(32.33, 52.97, -32.40)
CIE-LCHlch(32.33, 62.09, 328.55°)
OKLaboklab(43.97% 0.1488 -0.0897)
OKLCHoklch(43.97% 0.174 328.9)
XYZxyz(13.5664, 7.2339, 21.0996)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E80 #1E8220
analogous
#521E82 #821E80 #821E4E
triadic
#821E80 #80821E #1E8082
tetradic
#821E80 #82521E #1E8220 #1E4E82
square
#821E80 #82521E #1E8220 #1E4E82
split-complementary
#821E80 #4E821E #1E8252
monochromatic
#1F071E #50134F #821E80 #B429B1 #D446D1

Accessibility & contrast

On white

8.58
#821E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#821E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E80
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E80#FFFFFF#000000##FFFFFF
##821E801.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4483
Deuteranopia (green-blind)
#3B517E
Tritanopia (blue-blind)
#872D4E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #821e80;
/* rgb */ color: rgb(130, 30, 128);
/* oklch */ color: oklch(44.0% 0.174 328.9);
Tailwind
colors: {
  custom: {
    50: '#aa66a5',
    500: '#821e80',
    950: '#000000',
  },
}
SCSS
$custom: #821e80;
$custom-light: #aa66a5;
$custom-dark: #000000;
JSON
{
  "hex": "#821e80",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 301.2,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43965,
    "c": 0.17374,
    "h": 328.9
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#821E80
secondary
#47B549
accent
#E64642
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #821E80

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

Preview Lab → · Contrast checker → · Palette generator →

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