#821E99#821E99

#821E99 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.194 H 319.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#821E99
RGBrgb(130, 30, 153)
HSLhsl(289, 67%, 36%)
HSVhsv(289, 80%, 60%)
CMYKcmyk(15%, 80.4%, 0%, 40%)
CIE-LABlab(33.93, 57.48, -45.28)
CIE-LCHlch(33.93, 73.17, 321.77°)
OKLaboklab(45.61% 0.1468 -0.1273)
OKLCHoklch(45.61% 0.194 319.1)
XYZxyz(15.4192, 7.9750, 30.8580)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E99 #35991E
analogous
#441E99 #821E99 #991E72
triadic
#821E99 #99821E #1E9982
tetradic
#821E99 #99441E #35991E #1E7299
square
#821E99 #99441E #35991E #1E7299
split-complementary
#821E99 #72991E #1E9944
monochromatic
#2B0A33 #571466 #821E99 #AD28CC #C454DD

Accessibility & contrast

On white

8.09
#821E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#821E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E99
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E99#FFFFFF#000000##FFFFFF
##821E991.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#275396
Tritanopia (blue-blind)
#82395C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #821e99;
/* rgb */ color: rgb(130, 30, 153);
/* oklch */ color: oklch(45.6% 0.194 319.1);
Tailwind
colors: {
  custom: {
    50: '#aa67b8',
    500: '#821e99',
    950: '#000000',
  },
}
SCSS
$custom: #821e99;
$custom-light: #aa67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#821e99",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 288.78,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45609,
    "c": 0.19433,
    "h": 319.1
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#821E99
secondary
#67C152
accent
#EA3E5E
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #821E99

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

Preview Lab → · Contrast checker → · Palette generator →

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