#821DA1#821DA1

#821DA1 is a mid, highly saturated purple. Relative luminance 0.082; OKLCH L 46.1% C 0.202 H 316.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#821DA1
RGBrgb(130, 29, 161)
HSLhsl(286, 69%, 37%)
HSVhsv(286, 82%, 63%)
CMYKcmyk(19.3%, 82%, 0%, 36.9%)
CIE-LABlab(34.39, 59.31, -49.39)
CIE-LCHlch(34.39, 77.19, 320.21°)
OKLaboklab(46.11% 0.1463 -0.1394)
OKLCHoklch(46.11% 0.202 316.4)
XYZxyz(16.0773, 8.1984, 34.4469)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821DA1 #3CA11D
analogous
#401DA1 #821DA1 #A11D7E
triadic
#821DA1 #A1821D #1DA182
tetradic
#821DA1 #A1401D #3CA11D #1D7EA1
square
#821DA1 #A1401D #3CA11D #1D7EA1
split-complementary
#821DA1 #7EA11D #1DA140
monochromatic
#2E0A39 #58146D #821DA1 #AC26D5 #C158E1

Accessibility & contrast

On white

7.96
#821DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#821DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821DA1
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821DA1#FFFFFF#000000##FFFFFF
##821DA11.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#1C549E
Tritanopia (blue-blind)
#803D60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #821da1;
/* rgb */ color: rgb(130, 29, 161);
/* oklch */ color: oklch(46.1% 0.202 316.4);
Tailwind
colors: {
  custom: {
    50: '#ab67be',
    500: '#821da1',
    950: '#000000',
  },
}
SCSS
$custom: #821da1;
$custom-light: #ab67be;
$custom-dark: #000000;
JSON
{
  "hex": "#821da1",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 285.909,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46113,
    "c": 0.20202,
    "h": 316.4
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#821DA1
secondary
#6FC455
accent
#EC3C65
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #821DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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