#821B83#821B83

#821B83 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.179 H 327.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#821B83
RGBrgb(130, 27, 131)
HSLhsl(299, 66%, 31%)
HSVhsv(299, 79%, 51%)
CMYKcmyk(0.8%, 79.4%, 0%, 48.6%)
CIE-LABlab(32.19, 54.41, -34.51)
CIE-LCHlch(32.19, 64.43, 327.62°)
OKLaboklab(43.92% 0.1514 -0.0958)
OKLCHoklch(43.92% 0.179 327.7)
XYZxyz(13.6944, 7.1694, 22.1309)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B83 #1C831B
analogous
#4E1B83 #821B83 #831B50
triadic
#821B83 #83821B #1B8382
tetradic
#821B83 #834E1B #1C831B #1B5083
square
#821B83 #834E1B #1C831B #1B5083
split-complementary
#821B83 #50831B #1B834E
monochromatic
#1D061E #501150 #821B83 #B425B6 #D641D8

Accessibility & contrast

On white

8.63
#821B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#821B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B83
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B83#FFFFFF#000000##FFFFFF
##821B831.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#385081
Tritanopia (blue-blind)
#862D4F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #821b83;
/* rgb */ color: rgb(130, 27, 131);
/* oklch */ color: oklch(43.9% 0.179 327.7);
Tailwind
colors: {
  custom: {
    50: '#aa65a7',
    500: '#821b83',
    950: '#000000',
  },
}
SCSS
$custom: #821b83;
$custom-light: #aa65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#821b83",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 299.423,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4392,
    "c": 0.17913,
    "h": 327.7
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#821B83
secondary
#44B643
accent
#E93F41
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #821B83

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

Preview Lab → · Contrast checker → · Palette generator →

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