#821D86#821D86

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

Color values

HEX#821D86
RGBrgb(130, 29, 134)
HSLhsl(298, 64%, 32%)
HSVhsv(298, 78%, 53%)
CMYKcmyk(3%, 78.4%, 0%, 47.5%)
CIE-LABlab(32.58, 54.32, -35.75)
CIE-LCHlch(32.58, 65.03, 326.65°)
OKLaboklab(44.26% 0.1495 -0.0994)
OKLCHoklch(44.26% 0.18 326.4)
XYZxyz(13.9481, 7.3468, 23.2331)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D86 #21861D
analogous
#4E1D86 #821D86 #861D56
triadic
#821D86 #86821D #1D8682
tetradic
#821D86 #864E1D #21861D #1D5686
square
#821D86 #864E1D #21861D #1D5686
split-complementary
#821D86 #56861D #1D864E
monochromatic
#200721 #511254 #821D86 #B328B8 #D246D7

Accessibility & contrast

On white

8.50
#821D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821D86
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D86#FFFFFF#000000##FFFFFF
##821D861.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.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: #821d86;
/* rgb */ color: rgb(130, 29, 134);
/* oklch */ color: oklch(44.3% 0.180 326.4);
Tailwind
colors: {
  custom: {
    50: '#aa66aa',
    500: '#821d86',
    950: '#000000',
  },
}
SCSS
$custom: #821d86;
$custom-light: #aa66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#821d86",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 297.714,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.17956,
    "h": 326.4
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#821D86
secondary
#4AB946
accent
#E74047
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821D86

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

Preview Lab → · Contrast checker → · Palette generator →

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