#821C8F#821C8F

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

Color values

HEX#821C8F
RGBrgb(130, 28, 143)
HSLhsl(293, 67%, 34%)
HSVhsv(293, 80%, 56%)
CMYKcmyk(9.1%, 80.4%, 0%, 43.9%)
CIE-LABlab(33.05, 56.22, -40.57)
CIE-LCHlch(33.05, 69.33, 324.19°)
OKLaboklab(44.77% 0.1497 -0.1135)
OKLCHoklch(44.77% 0.188 322.8)
XYZxyz(14.5786, 7.5604, 26.6727)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C8F #298F1C
analogous
#481C8F #821C8F #8F1C62
triadic
#821C8F #8F821C #1C8F82
tetradic
#821C8F #8F481C #298F1C #1C628F
square
#821C8F #8F481C #298F1C #1C628F
split-complementary
#821C8F #628F1C #1C8F48
monochromatic
#250829 #53125C #821C8F #B126C2 #CB4ADC

Accessibility & contrast

On white

8.36
#821C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#821C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821C8F
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C8F#FFFFFF#000000##FFFFFF
##821C8F1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#30528C
Tritanopia (blue-blind)
#843456
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #821c8f;
/* rgb */ color: rgb(130, 28, 143);
/* oklch */ color: oklch(44.8% 0.188 322.8);
Tailwind
colors: {
  custom: {
    50: '#aa66b0',
    500: '#821c8f',
    950: '#000000',
  },
}
SCSS
$custom: #821c8f;
$custom-light: #aa66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#821c8f",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 293.217,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44773,
    "c": 0.18785,
    "h": 322.8
  },
  "luminance": 0.0756
}

Semantic roles & 50–950 ramp

primary
#821C8F
secondary
#56BE49
accent
#EA3E51
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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