#821F99#821F99

#821F99 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.193 H 319.0°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#821F99
RGBrgb(130, 31, 153)
HSLhsl(289, 66%, 36%)
HSVhsv(289, 80%, 60%)
CMYKcmyk(15%, 79.7%, 0%, 40%)
CIE-LABlab(34.04, 57.17, -45.11)
CIE-LCHlch(34.04, 72.82, 321.72°)
OKLaboklab(45.68% 0.146 -0.1268)
OKLCHoklch(45.68% 0.193 319)
XYZxyz(15.4449, 8.0265, 30.8665)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821F99 #36991F
analogous
#451F99 #821F99 #991F73
triadic
#821F99 #99821F #1F9982
tetradic
#821F99 #99451F #36991F #1F7399
square
#821F99 #99451F #36991F #1F7399
split-complementary
#821F99 #73991F #1F9945
monochromatic
#2C0A33 #571566 #821F99 #AD29CC #C356DD

Accessibility & contrast

On white

8.06
#821F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#821F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821F99
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821F99#FFFFFF#000000##FFFFFF
##821F991.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#285396
Tritanopia (blue-blind)
#823A5C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #821f99;
/* rgb */ color: rgb(130, 31, 153);
/* oklch */ color: oklch(45.7% 0.193 319.0);
Tailwind
colors: {
  custom: {
    50: '#aa67b8',
    500: '#821f99',
    950: '#000000',
  },
}
SCSS
$custom: #821f99;
$custom-light: #aa67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#821f99",
  "rgb": {
    "r": 130,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 288.689,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.19339,
    "h": 319
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#821F99
secondary
#68C054
accent
#E93F5F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #821F99

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

Preview Lab → · Contrast checker → · Palette generator →

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