#821C8D#821C8D

#821C8D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.186 H 323.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#821C8D
RGBrgb(130, 28, 141)
HSLhsl(294, 67%, 33%)
HSVhsv(294, 80%, 55%)
CMYKcmyk(7.8%, 80.1%, 0%, 44.7%)
CIE-LABlab(32.92, 55.86, -39.55)
CIE-LCHlch(32.92, 68.45, 324.70°)
OKLaboklab(44.64% 0.1499 -0.1105)
OKLCHoklch(44.64% 0.186 323.6)
XYZxyz(14.4285, 7.5003, 25.8819)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C8D #278D1C
analogous
#491C8D #821C8D #8D1C5F
triadic
#821C8D #8D821C #1C8D82
tetradic
#821C8D #8D491C #278D1C #1C5F8D
square
#821C8D #8D491C #278D1C #1C5F8D
split-complementary
#821C8D #5F8D1C #1C8D49
monochromatic
#240827 #53125A #821C8D #B126C0 #CD49DB

Accessibility & contrast

On white

8.40
#821C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#821C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821C8D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C8D#FFFFFF#000000##FFFFFF
##821C8D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#31518A
Tritanopia (blue-blind)
#843355
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #821c8d;
/* rgb */ color: rgb(130, 28, 141);
/* oklch */ color: oklch(44.6% 0.186 323.6);
Tailwind
colors: {
  custom: {
    50: '#aa66af',
    500: '#821c8d',
    950: '#000000',
  },
}
SCSS
$custom: #821c8d;
$custom-light: #aa66af;
$custom-dark: #000000;
JSON
{
  "hex": "#821c8d",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 294.159,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44639,
    "c": 0.18621,
    "h": 323.6
  },
  "luminance": 0.07499
}

Semantic roles & 50–950 ramp

primary
#821C8D
secondary
#53BD48
accent
#EA3E4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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