#821E95#821E95

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

Color values

HEX#821E95
RGBrgb(130, 30, 149)
HSLhsl(290, 66%, 35%)
HSVhsv(290, 80%, 58%)
CMYKcmyk(12.8%, 79.9%, 0%, 41.6%)
CIE-LABlab(33.66, 56.72, -43.28)
CIE-LCHlch(33.66, 71.35, 322.66°)
OKLaboklab(45.33% 0.1474 -0.1214)
OKLCHoklch(45.33% 0.191 320.5)
XYZxyz(15.0944, 7.8451, 29.1471)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821E95 #31951E
analogous
#461E95 #821E95 #951E6D
triadic
#821E95 #95821E #1E9582
tetradic
#821E95 #95461E #31951E #1E6D95
square
#821E95 #95461E #31951E #1E6D95
split-complementary
#821E95 #6D951E #1E9546
monochromatic
#29092F #561462 #821E95 #AE28C8 #C651DC

Accessibility & contrast

On white

8.18
#821E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#821E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821E95
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821E95#FFFFFF#000000##FFFFFF
##821E951.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#2B5392
Tritanopia (blue-blind)
#83385A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #821e95;
/* rgb */ color: rgb(130, 30, 149);
/* oklch */ color: oklch(45.3% 0.191 320.5);
Tailwind
colors: {
  custom: {
    50: '#aa67b5',
    500: '#821e95',
    950: '#000000',
  },
}
SCSS
$custom: #821e95;
$custom-light: #aa67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#821e95",
  "rgb": {
    "r": 130,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 290.42,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.19096,
    "h": 320.5
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#821E95
secondary
#62BF50
accent
#E93E5A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #821E95

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

Preview Lab → · Contrast checker → · Palette generator →

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