#821E87#821E87

#821E87 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.179 H 325.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#821E87
RGBrgb(130, 30, 135)
HSLhsl(297, 64%, 32%)
HSVhsv(297, 78%, 53%)
CMYKcmyk(3.7%, 77.8%, 0%, 47.1%)
CIE-LABlab(32.75, 54.18, -36.10)
CIE-LCHlch(32.75, 65.10, 326.33°)
OKLaboklab(44.4% 0.1486 -0.1004)
OKLCHoklch(44.4% 0.179 325.9)
XYZxyz(14.0431, 7.4246, 23.6104)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E87 #23871E
analogous
#4E1E87 #821E87 #871E57
triadic
#821E87 #87821E #1E8782
tetradic
#821E87 #874E1E #23871E #1E5787
square
#821E87 #874E1E #23871E #1E5787
split-complementary
#821E87 #57871E #1E874E
monochromatic
#220823 #521355 #821E87 #B229B9 #D049D7

Accessibility & contrast

On white

8.45
#821E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#821E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E87
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E87#FFFFFF#000000##FFFFFF
##821E871.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821e87;
/* rgb */ color: rgb(130, 30, 135);
/* oklch */ color: oklch(44.4% 0.179 325.9);
Tailwind
colors: {
  custom: {
    50: '#aa66aa',
    500: '#821e87',
    950: '#000000',
  },
}
SCSS
$custom: #821e87;
$custom-light: #aa66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#821e87",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 297.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44401,
    "c": 0.17936,
    "h": 325.9
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#821E87
secondary
#4DB948
accent
#E74149
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821E87

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

Preview Lab → · Contrast checker → · Palette generator →

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