#821EAE#821EAE

#821EAE is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.2% C 0.212 H 312.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#821EAE
RGBrgb(130, 30, 174)
HSLhsl(282, 71%, 40%)
HSVhsv(282, 83%, 68%)
CMYKcmyk(25.3%, 82.8%, 0%, 31.8%)
CIE-LABlab(35.46, 61.59, -55.47)
CIE-LCHlch(35.46, 82.89, 317.99°)
OKLaboklab(47.16% 0.1427 -0.1572)
OKLCHoklch(47.16% 0.212 312.2)
XYZxyz(17.3088, 8.7309, 40.8096)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821EAE #4AAE1E
analogous
#3A1EAE #821EAE #AE1E92
triadic
#821EAE #AE821E #1EAE82
tetradic
#821EAE #AE3A1E #4AAE1E #1E92AE
square
#821EAE #AE3A1E #4AAE1E #1E92AE
split-complementary
#821EAE #92AE1E #1EAE3A
monochromatic
#340C46 #5B157A #821EAE #A62EDB #BC62E4

Accessibility & contrast

On white

7.65
#821EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#821EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821EAE
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821EAE#FFFFFF#000000##FFFFFF
##821EAE1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821eae;
/* rgb */ color: rgb(130, 30, 174);
/* oklch */ color: oklch(47.2% 0.212 312.2);
Tailwind
colors: {
  custom: {
    50: '#ab68c7',
    500: '#821eae',
    950: '#000000',
  },
}
SCSS
$custom: #821eae;
$custom-light: #ab68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#821eae",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 174
  },
  "hsl": {
    "h": 281.667,
    "s": 70.588,
    "l": 40
  },
  "oklch": {
    "l": 0.47164,
    "c": 0.21234,
    "h": 312.2
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#821EAE
secondary
#7FC95F
accent
#ED3A71
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #821EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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