#821DAE#821DAE

#821DAE is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.213 H 312.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#821DAE
RGBrgb(130, 29, 174)
HSLhsl(282, 71%, 40%)
HSVhsv(282, 83%, 68%)
CMYKcmyk(25.3%, 83.3%, 0%, 31.8%)
CIE-LABlab(35.36, 61.88, -55.63)
CIE-LCHlch(35.36, 83.21, 318.04°)
OKLaboklab(47.1% 0.1434 -0.1577)
OKLCHoklch(47.1% 0.213 312.3)
XYZxyz(17.2839, 8.6811, 40.8013)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821DAE #49AE1D
analogous
#391DAE #821DAE #AE1D92
triadic
#821DAE #AE821D #1DAE82
tetradic
#821DAE #AE391D #49AE1D #1D92AE
square
#821DAE #AE391D #49AE1D #1D92AE
split-complementary
#821DAE #92AE1D #1DAE39
monochromatic
#340C45 #5B147A #821DAE #A72CDC #BD61E5

Accessibility & contrast

On white

7.67
#821DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#821DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821DAE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821DAE#FFFFFF#000000##FFFFFF
##821DAE1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#7D4368
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #821dae;
/* rgb */ color: rgb(130, 29, 174);
/* oklch */ color: oklch(47.1% 0.213 312.3);
Tailwind
colors: {
  custom: {
    50: '#ab68c7',
    500: '#821dae',
    950: '#000000',
  },
}
SCSS
$custom: #821dae;
$custom-light: #ab68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#821dae",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 174
  },
  "hsl": {
    "h": 281.793,
    "s": 71.429,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47096,
    "c": 0.21314,
    "h": 312.3
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#821DAE
secondary
#7EC95E
accent
#EE3A70
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #821DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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