#821B96#821B96

#821B96 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.2% C 0.195 H 320.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#821B96
RGBrgb(130, 27, 150)
HSLhsl(290, 69%, 35%)
HSVhsv(290, 82%, 59%)
CMYKcmyk(13.3%, 82%, 0%, 41.2%)
CIE-LABlab(33.42, 57.80, -44.28)
CIE-LCHlch(33.42, 72.81, 322.55°)
OKLaboklab(45.18% 0.1496 -0.1243)
OKLCHoklch(45.18% 0.195 320.3)
XYZxyz(15.1022, 7.7325, 29.5453)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B96 #2F961B
analogous
#451B96 #821B96 #961B6D
triadic
#821B96 #96821B #1B9682
tetradic
#821B96 #96451B #2F961B #1B6D96
square
#821B96 #96451B #2F961B #1B6D96
split-complementary
#821B96 #6D961B #1B9645
monochromatic
#28082E #551262 #821B96 #AF24CA #C74DDF

Accessibility & contrast

On white

8.25
#821B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#821B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B96
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B96#FFFFFF#000000##FFFFFF
##821B961.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#295293
Tritanopia (blue-blind)
#82375A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #821b96;
/* rgb */ color: rgb(130, 27, 150);
/* oklch */ color: oklch(45.2% 0.195 320.3);
Tailwind
colors: {
  custom: {
    50: '#aa66b5',
    500: '#821b96',
    950: '#000000',
  },
}
SCSS
$custom: #821b96;
$custom-light: #aa66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#821b96",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 290.244,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.19451,
    "h": 320.3
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#821B96
secondary
#5FC14C
accent
#EC3B58
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #821B96

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

Preview Lab → · Contrast checker → · Palette generator →

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