#821B97#821B97

#821B97 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.195 H 319.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#821B97
RGBrgb(130, 27, 151)
HSLhsl(290, 70%, 35%)
HSVhsv(290, 82%, 59%)
CMYKcmyk(13.9%, 82.1%, 0%, 40.8%)
CIE-LABlab(33.49, 57.98, -44.78)
CIE-LCHlch(33.49, 73.26, 322.32°)
OKLaboklab(45.25% 0.1495 -0.1258)
OKLCHoklch(45.25% 0.195 319.9)
XYZxyz(15.1831, 7.7649, 29.9712)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B97 #30971B
analogous
#441B97 #821B97 #971B6E
triadic
#821B97 #97821B #1B9782
tetradic
#821B97 #97441B #30971B #1B6E97
square
#821B97 #97441B #30971B #1B6E97
split-complementary
#821B97 #6E971B #1B9744
monochromatic
#29082F #551263 #821B97 #AF24CB #C64DDF

Accessibility & contrast

On white

8.23
#821B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821B97
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B97#FFFFFF#000000##FFFFFF
##821B971.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821b97;
/* rgb */ color: rgb(130, 27, 151);
/* oklch */ color: oklch(45.3% 0.195 319.9);
Tailwind
colors: {
  custom: {
    50: '#aa66b6',
    500: '#821b97',
    950: '#000000',
  },
}
SCSS
$custom: #821b97;
$custom-light: #aa66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#821b97",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 289.839,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45254,
    "c": 0.19534,
    "h": 319.9
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#821B97
secondary
#60C14C
accent
#EC3B59
background
#FAF6FB
surface
#F5EBF6
border
#CFC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #821B97

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

Preview Lab → · Contrast checker → · Palette generator →

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