#821FAE#821FAE

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

Color values

HEX#821FAE
RGBrgb(130, 31, 174)
HSLhsl(282, 70%, 40%)
HSVhsv(282, 82%, 68%)
CMYKcmyk(25.3%, 82.2%, 0%, 31.8%)
CIE-LABlab(35.56, 61.30, -55.31)
CIE-LCHlch(35.56, 82.56, 317.94°)
OKLaboklab(47.24% 0.142 -0.1567)
OKLCHoklch(47.24% 0.212 312.2)
XYZxyz(17.3345, 8.7823, 40.8182)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821FAE #4BAE1F
analogous
#3A1FAE #821FAE #AE1F93
triadic
#821FAE #AE821F #1FAE82
tetradic
#821FAE #AE3A1F #4BAE1F #1F93AE
square
#821FAE #AE3A1F #4BAE1F #1F93AE
split-complementary
#821FAE #93AE1F #1FAE3A
monochromatic
#340C46 #5B167A #821FAE #A630DA #BC64E3

Accessibility & contrast

On white

7.62
#821FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#821FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821FAE
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821FAE#FFFFFF#000000##FFFFFF
##821FAE1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821fae;
/* rgb */ color: rgb(130, 31, 174);
/* oklch */ color: oklch(47.2% 0.212 312.2);
Tailwind
colors: {
  custom: {
    50: '#ab69c7',
    500: '#821fae',
    950: '#000000',
  },
}
SCSS
$custom: #821fae;
$custom-light: #ab69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#821fae",
  "rgb": {
    "r": 130,
    "g": 31,
    "b": 174
  },
  "hsl": {
    "h": 281.538,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47235,
    "c": 0.21151,
    "h": 312.2
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#821FAE
secondary
#80C860
accent
#ED3B72
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #821FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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