#821C87#821C87

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

Color values

HEX#821C87
RGBrgb(130, 28, 135)
HSLhsl(297, 66%, 32%)
HSVhsv(297, 79%, 53%)
CMYKcmyk(3.7%, 79.3%, 0%, 47.1%)
CIE-LABlab(32.54, 54.80, -36.44)
CIE-LCHlch(32.54, 65.81, 326.38°)
OKLaboklab(44.25% 0.1503 -0.1014)
OKLCHoklch(44.25% 0.181 326)
XYZxyz(13.9941, 7.3266, 23.5941)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C87 #21871C
analogous
#4D1C87 #821C87 #871C57
triadic
#821C87 #87821C #1C8782
tetradic
#821C87 #874D1C #21871C #1C5787
square
#821C87 #874D1C #21871C #1C5787
split-complementary
#821C87 #57871C #1C874D
monochromatic
#200722 #511154 #821C87 #B327BA #D245D8

Accessibility & contrast

On white

8.52
#821C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#821C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821C87
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C87#FFFFFF#000000##FFFFFF
##821C871.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#365184
Tritanopia (blue-blind)
#853051
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #821c87;
/* rgb */ color: rgb(130, 28, 135);
/* oklch */ color: oklch(44.2% 0.181 326.0);
Tailwind
colors: {
  custom: {
    50: '#aa65aa',
    500: '#821c87',
    950: '#000000',
  },
}
SCSS
$custom: #821c87;
$custom-light: #aa65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#821c87",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 297.196,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44247,
    "c": 0.18135,
    "h": 326
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#821C87
secondary
#4ABA45
accent
#E93F47
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821C87

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

Preview Lab → · Contrast checker → · Palette generator →

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