#821AA0#821AA0

#821AA0 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.8% C 0.204 H 316.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#821AA0
RGBrgb(130, 26, 160)
HSLhsl(287, 72%, 36%)
HSVhsv(287, 84%, 63%)
CMYKcmyk(18.8%, 83.8%, 0%, 37.3%)
CIE-LABlab(34.03, 59.96, -49.37)
CIE-LCHlch(34.03, 77.67, 320.53°)
OKLaboklab(45.84% 0.1486 -0.1393)
OKLCHoklch(45.84% 0.204 316.9)
XYZxyz(15.9195, 8.0234, 33.9610)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821AA0 #38A01A
analogous
#3F1AA0 #821AA0 #A01A7B
triadic
#821AA0 #A0821A #1AA082
tetradic
#821AA0 #A03F1A #38A01A #1A7BA0
square
#821AA0 #A03F1A #38A01A #1A7BA0
split-complementary
#821AA0 #7BA01A #1AA03F
monochromatic
#2C0937 #57116B #821AA0 #AD23D5 #C252E3

Accessibility & contrast

On white

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

On black

2.60
#821AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##821AA0#FFFFFF#000000##FFFFFF
##821AA01.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#1B539D
Tritanopia (blue-blind)
#803B5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #821aa0;
/* rgb */ color: rgb(130, 26, 160);
/* oklch */ color: oklch(45.8% 0.204 316.9);
Tailwind
colors: {
  custom: {
    50: '#ab66bd',
    500: '#821aa0',
    950: '#000000',
  },
}
SCSS
$custom: #821aa0;
$custom-light: #ab66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#821aa0",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 286.567,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.20365,
    "h": 316.9
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#821AA0
secondary
#6BC550
accent
#EF3962
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#110712
muted
#807A81

Preview Lab

Preview with #821AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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