#821A86#821A86

#821A86 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.182 H 326.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#821A86
RGBrgb(130, 26, 134)
HSLhsl(298, 68%, 31%)
HSVhsv(298, 81%, 53%)
CMYKcmyk(3%, 80.6%, 0%, 47.5%)
CIE-LABlab(32.27, 55.22, -36.24)
CIE-LCHlch(32.27, 66.05, 326.72°)
OKLaboklab(44.04% 0.152 -0.1008)
OKLCHoklch(44.04% 0.182 326.4)
XYZxyz(13.8781, 7.2068, 23.2097)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A86 #1E861A
analogous
#4C1A86 #821A86 #861A54
triadic
#821A86 #86821A #1A8682
tetradic
#821A86 #864C1A #1E861A #1A5486
square
#821A86 #864C1A #1E861A #1A5486
split-complementary
#821A86 #54861A #1A864C
monochromatic
#1F061F #501053 #821A86 #B424B9 #D440DA

Accessibility & contrast

On white

8.60
#821A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#821A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821A86
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821A86#FFFFFF#000000##FFFFFF
##821A861.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821a86;
/* rgb */ color: rgb(130, 26, 134);
/* oklch */ color: oklch(44.0% 0.182 326.4);
Tailwind
colors: {
  custom: {
    50: '#aa65aa',
    500: '#821a86',
    950: '#000000',
  },
}
SCSS
$custom: #821a86;
$custom-light: #aa65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#821a86",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 297.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.18244,
    "h": 326.4
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#821A86
secondary
#47B942
accent
#EA3D44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821A86

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

Preview Lab → · Contrast checker → · Palette generator →

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