#821C8E#821C8E

#821C8E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.187 H 323.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#821C8E
RGBrgb(130, 28, 142)
HSLhsl(294, 67%, 33%)
HSVhsv(294, 80%, 56%)
CMYKcmyk(8.5%, 80.3%, 0%, 44.3%)
CIE-LABlab(32.98, 56.04, -40.06)
CIE-LCHlch(32.98, 68.89, 324.44°)
OKLaboklab(44.71% 0.1498 -0.112)
OKLCHoklch(44.71% 0.187 323.2)
XYZxyz(14.5032, 7.5302, 26.2755)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C8E #288E1C
analogous
#491C8E #821C8E #8E1C61
triadic
#821C8E #8E821C #1C8E82
tetradic
#821C8E #8E491C #288E1C #1C618E
square
#821C8E #8E491C #288E1C #1C618E
split-complementary
#821C8E #618E1C #1C8E49
monochromatic
#240828 #53125B #821C8E #B126C1 #CC49DB

Accessibility & contrast

On white

8.38
#821C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#821C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821C8E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C8E#FFFFFF#000000##FFFFFF
##821C8E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#843355
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #821c8e;
/* rgb */ color: rgb(130, 28, 142);
/* oklch */ color: oklch(44.7% 0.187 323.2);
Tailwind
colors: {
  custom: {
    50: '#aa66b0',
    500: '#821c8e',
    950: '#000000',
  },
}
SCSS
$custom: #821c8e;
$custom-light: #aa66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#821c8e",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 293.684,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44706,
    "c": 0.18703,
    "h": 323.2
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#821C8E
secondary
#55BD49
accent
#EA3E50
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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