#821E86#821E86

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

Color values

HEX#821E86
RGBrgb(130, 30, 134)
HSLhsl(298, 63%, 32%)
HSVhsv(298, 78%, 53%)
CMYKcmyk(3%, 77.6%, 0%, 47.5%)
CIE-LABlab(32.69, 54.00, -35.57)
CIE-LCHlch(32.69, 64.67, 326.63°)
OKLaboklab(44.34% 0.1487 -0.0989)
OKLCHoklch(44.34% 0.179 326.4)
XYZxyz(13.9730, 7.3966, 23.2414)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E86 #22861E
analogous
#4E1E86 #821E86 #861E56
triadic
#821E86 #86821E #1E8682
tetradic
#821E86 #864E1E #22861E #1E5686
square
#821E86 #864E1E #22861E #1E5686
split-complementary
#821E86 #56861E #1E864E
monochromatic
#210822 #511354 #821E86 #B329B8 #D148D6

Accessibility & contrast

On white

8.47
#821E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821E86
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E86#FFFFFF#000000##FFFFFF
##821E861.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#863051
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #821e86;
/* rgb */ color: rgb(130, 30, 134);
/* oklch */ color: oklch(44.3% 0.179 326.4);
Tailwind
colors: {
  custom: {
    50: '#aa66aa',
    500: '#821e86',
    950: '#000000',
  },
}
SCSS
$custom: #821e86;
$custom-light: #aa66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#821e86",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 297.692,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44337,
    "c": 0.17855,
    "h": 326.4
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#821E86
secondary
#4CB847
accent
#E64148
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821E86

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

Preview Lab → · Contrast checker → · Palette generator →

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