#821CAE#821CAE

#821CAE is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 47.0% C 0.214 H 312.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#821CAE
RGBrgb(130, 28, 174)
HSLhsl(282, 72%, 40%)
HSVhsv(282, 84%, 68%)
CMYKcmyk(25.3%, 83.9%, 0%, 31.8%)
CIE-LABlab(35.27, 62.16, -55.79)
CIE-LCHlch(35.27, 83.52, 318.09°)
OKLaboklab(47.03% 0.1441 -0.1581)
OKLCHoklch(47.03% 0.214 312.3)
XYZxyz(17.2597, 8.6328, 40.7933)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821CAE #48AE1C
analogous
#391CAE #821CAE #AE1C91
triadic
#821CAE #AE821C #1CAE82
tetradic
#821CAE #AE391C #48AE1C #1C91AE
square
#821CAE #AE391C #48AE1C #1C91AE
split-complementary
#821CAE #91AE1C #1CAE39
monochromatic
#330B45 #5B1479 #821CAE #A72ADD #BD5FE5

Accessibility & contrast

On white

7.70
#821CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#821CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821CAE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821CAE#FFFFFF#000000##FFFFFF
##821CAE1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821cae;
/* rgb */ color: rgb(130, 28, 174);
/* oklch */ color: oklch(47.0% 0.214 312.3);
Tailwind
colors: {
  custom: {
    50: '#ab67c7',
    500: '#821cae',
    950: '#000000',
  },
}
SCSS
$custom: #821cae;
$custom-light: #ab67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#821cae",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 174
  },
  "hsl": {
    "h": 281.918,
    "s": 72.277,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4703,
    "c": 0.21393,
    "h": 312.3
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#821CAE
secondary
#7DCA5C
accent
#EF3970
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #821CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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