#821E8D#821E8D

#821E8D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.184 H 323.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#821E8D
RGBrgb(130, 30, 141)
HSLhsl(294, 65%, 34%)
HSVhsv(294, 79%, 55%)
CMYKcmyk(7.8%, 78.7%, 0%, 44.7%)
CIE-LABlab(33.13, 55.25, -39.21)
CIE-LCHlch(33.13, 67.75, 324.64°)
OKLaboklab(44.79% 0.1482 -0.1095)
OKLCHoklch(44.79% 0.184 323.5)
XYZxyz(14.4775, 7.5984, 25.8982)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E8D #298D1E
analogous
#4A1E8D #821E8D #8D1E60
triadic
#821E8D #8D821E #1E8D82
tetradic
#821E8D #8D4A1E #298D1E #1E608D
square
#821E8D #8D4A1E #298D1E #1E608D
split-complementary
#821E8D #608D1E #1E8D4A
monochromatic
#250928 #53135B #821E8D #B129BF #CB4CD9

Accessibility & contrast

On white

8.34
#821E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#821E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E8D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E8D#FFFFFF#000000##FFFFFF
##821E8D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#32528A
Tritanopia (blue-blind)
#843455
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #821e8d;
/* rgb */ color: rgb(130, 30, 141);
/* oklch */ color: oklch(44.8% 0.184 323.5);
Tailwind
colors: {
  custom: {
    50: '#aa66af',
    500: '#821e8d',
    950: '#000000',
  },
}
SCSS
$custom: #821e8d;
$custom-light: #aa66af;
$custom-dark: #000000;
JSON
{
  "hex": "#821e8d",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 294.054,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.18429,
    "h": 323.5
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#821E8D
secondary
#56BC4B
accent
#E84051
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #821E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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