#821EA9#821EA9

#821EA9 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.8% C 0.208 H 313.8°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#821EA9
RGBrgb(130, 30, 169)
HSLhsl(283, 70%, 39%)
HSVhsv(283, 82%, 66%)
CMYKcmyk(23.1%, 82.2%, 0%, 33.7%)
CIE-LABlab(35.08, 60.59, -53.10)
CIE-LCHlch(35.08, 80.56, 318.77°)
OKLaboklab(46.78% 0.1439 -0.1502)
OKLCHoklch(46.78% 0.208 313.8)
XYZxyz(16.8304, 8.5395, 38.2901)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821EA9 #45A91E
analogous
#3C1EA9 #821EA9 #A91E8B
triadic
#821EA9 #A9821E #1EA982
tetradic
#821EA9 #A93C1E #45A91E #1E8BA9
square
#821EA9 #A93C1E #45A91E #1E8BA9
split-complementary
#821EA9 #8BA91E #1EA93C
monochromatic
#320C41 #5A1575 #821EA9 #A82BD9 #BE5FE3

Accessibility & contrast

On white

7.76
#821EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#821EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821EA9
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821EA9#FFFFFF#000000##FFFFFF
##821EA91.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0955A6
Tritanopia (blue-blind)
#7E4165
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #821ea9;
/* rgb */ color: rgb(130, 30, 169);
/* oklch */ color: oklch(46.8% 0.208 313.8);
Tailwind
colors: {
  custom: {
    50: '#ab68c3',
    500: '#821ea9',
    950: '#000000',
  },
}
SCSS
$custom: #821ea9;
$custom-light: #ab68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#821ea9",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 169
  },
  "hsl": {
    "h": 283.165,
    "s": 69.849,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46781,
    "c": 0.20802,
    "h": 313.8
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

primary
#821EA9
secondary
#7AC75C
accent
#ED3B6D
background
#FBF6FC
surface
#F6EBF8
border
#D0C6D1
text
#110713
muted
#807A82

Preview Lab

Preview with #821EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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