#821D89#821D89

#821D89 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.182 H 325.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#821D89
RGBrgb(130, 29, 137)
HSLhsl(296, 65%, 33%)
HSVhsv(296, 79%, 54%)
CMYKcmyk(5.1%, 78.8%, 0%, 46.3%)
CIE-LABlab(32.77, 54.85, -37.31)
CIE-LCHlch(32.77, 66.34, 325.77°)
OKLaboklab(44.45% 0.1494 -0.104)
OKLCHoklch(44.45% 0.182 325.2)
XYZxyz(14.1603, 7.4316, 24.3507)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821D89 #24891D
analogous
#4C1D89 #821D89 #891D5A
triadic
#821D89 #89821D #1D8982
tetradic
#821D89 #894C1D #24891D #1D5A89
square
#821D89 #894C1D #24891D #1D5A89
split-complementary
#821D89 #5A891D #1D894C
monochromatic
#220824 #521256 #821D89 #B228BC #CF48D8

Accessibility & contrast

On white

8.45
#821D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#821D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821D89
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821D89#FFFFFF#000000##FFFFFF
##821D891.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#853153
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #821d89;
/* rgb */ color: rgb(130, 29, 137);
/* oklch */ color: oklch(44.5% 0.182 325.2);
Tailwind
colors: {
  custom: {
    50: '#aa66ac',
    500: '#821d89',
    950: '#000000',
  },
}
SCSS
$custom: #821d89;
$custom-light: #aa66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#821d89",
  "rgb": {
    "r": 130,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 296.111,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44452,
    "c": 0.18199,
    "h": 325.2
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#821D89
secondary
#4FBA47
accent
#E8404B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821D89

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

Preview Lab → · Contrast checker → · Palette generator →

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