#821C86#821C86

#821C86 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.181 H 326.4°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#821C86
RGBrgb(130, 28, 134)
HSLhsl(298, 65%, 32%)
HSVhsv(298, 79%, 53%)
CMYKcmyk(3%, 79.1%, 0%, 47.5%)
CIE-LABlab(32.48, 54.63, -35.92)
CIE-LCHlch(32.48, 65.38, 326.68°)
OKLaboklab(44.18% 0.1504 -0.0999)
OKLCHoklch(44.18% 0.181 326.4)
XYZxyz(13.9240, 7.2985, 23.2250)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C86 #20861C
analogous
#4D1C86 #821C86 #861C55
triadic
#821C86 #86821C #1C8682
tetradic
#821C86 #864D1C #20861C #1C5586
square
#821C86 #864D1C #20861C #1C5586
split-complementary
#821C86 #55861C #1C864D
monochromatic
#200721 #511153 #821C86 #B327B9 #D244D8

Accessibility & contrast

On white

8.54
#821C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#821C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821C86
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C86#FFFFFF#000000##FFFFFF
##821C861.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#375183
Tritanopia (blue-blind)
#862F51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #821c86;
/* rgb */ color: rgb(130, 28, 134);
/* oklch */ color: oklch(44.2% 0.181 326.4);
Tailwind
colors: {
  custom: {
    50: '#aa65aa',
    500: '#821c86',
    950: '#000000',
  },
}
SCSS
$custom: #821c86;
$custom-light: #aa65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#821c86",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 297.736,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44183,
    "c": 0.18054,
    "h": 326.4
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#821C86
secondary
#49B945
accent
#E83F46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821C86

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

Preview Lab → · Contrast checker → · Palette generator →

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