#821F85#821F85

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

Color values

HEX#821F85
RGBrgb(130, 31, 133)
HSLhsl(298, 62%, 32%)
HSVhsv(298, 77%, 52%)
CMYKcmyk(2.3%, 76.7%, 0%, 47.8%)
CIE-LABlab(32.74, 53.51, -34.87)
CIE-LCHlch(32.74, 63.86, 326.91°)
OKLaboklab(44.36% 0.1478 -0.0969)
OKLCHoklch(44.36% 0.177 326.8)
XYZxyz(13.9293, 7.4202, 22.8843)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821F85 #22851F
analogous
#4F1F85 #821F85 #851F55
triadic
#821F85 #85821F #1F8582
tetradic
#821F85 #854F1F #22851F #1F5585
square
#821F85 #854F1F #22851F #1F5585
split-complementary
#821F85 #55851F #1F854F
monochromatic
#210822 #511353 #821F85 #B32BB7 #D14AD5

Accessibility & contrast

On white

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

On black

2.48
#821F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##821F85#FFFFFF#000000##FFFFFF
##821F851.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014588
Deuteranopia (green-blind)
#395183
Tritanopia (blue-blind)
#863051
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #821f85;
/* rgb */ color: rgb(130, 31, 133);
/* oklch */ color: oklch(44.4% 0.177 326.8);
Tailwind
colors: {
  custom: {
    50: '#aa66a9',
    500: '#821f85',
    950: '#000000',
  },
}
SCSS
$custom: #821f85;
$custom-light: #aa66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#821f85",
  "rgb": {
    "r": 130,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 298.235,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44355,
    "c": 0.1767,
    "h": 326.8
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#821F85
secondary
#4CB749
accent
#E54347
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821F85

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

Preview Lab → · Contrast checker → · Palette generator →

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