#821B85#821B85

#821B85 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.181 H 326.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#821B85
RGBrgb(130, 27, 133)
HSLhsl(298, 66%, 31%)
HSVhsv(298, 80%, 52%)
CMYKcmyk(2.3%, 79.7%, 0%, 47.8%)
CIE-LABlab(32.31, 54.75, -35.56)
CIE-LCHlch(32.31, 65.29, 327.00°)
OKLaboklab(44.05% 0.1513 -0.0988)
OKLCHoklch(44.05% 0.181 326.8)
XYZxyz(13.8313, 7.2241, 22.8517)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B85 #1E851B
analogous
#4D1B85 #821B85 #851B53
triadic
#821B85 #85821B #1B8582
tetradic
#821B85 #854D1B #1E851B #1B5385
square
#821B85 #854D1B #1E851B #1B5385
split-complementary
#821B85 #53851B #1B854D
monochromatic
#1F061F #501152 #821B85 #B425B8 #D442D9

Accessibility & contrast

On white

8.59
#821B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#821B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B85
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B85#FFFFFF#000000##FFFFFF
##821B851.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#375082
Tritanopia (blue-blind)
#862E50
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #821b85;
/* rgb */ color: rgb(130, 27, 133);
/* oklch */ color: oklch(44.0% 0.181 326.8);
Tailwind
colors: {
  custom: {
    50: '#aa65a9',
    500: '#821b85',
    950: '#000000',
  },
}
SCSS
$custom: #821b85;
$custom-light: #aa65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#821b85",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 298.302,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44046,
    "c": 0.18071,
    "h": 326.8
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#821B85
secondary
#47B844
accent
#E93F43
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821B85

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

Preview Lab → · Contrast checker → · Palette generator →

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