#821C95#821C95

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

Color values

HEX#821C95
RGBrgb(130, 28, 149)
HSLhsl(291, 68%, 35%)
HSVhsv(291, 81%, 58%)
CMYKcmyk(12.8%, 81.2%, 0%, 41.6%)
CIE-LABlab(33.45, 57.32, -43.61)
CIE-LCHlch(33.45, 72.03, 322.74°)
OKLaboklab(45.18% 0.149 -0.1224)
OKLCHoklch(45.18% 0.193 320.6)
XYZxyz(15.0453, 7.7471, 29.1308)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C95 #2F951C
analogous
#461C95 #821C95 #951C6B
triadic
#821C95 #95821C #1C9582
tetradic
#821C95 #95461C #2F951C #1C6B95
square
#821C95 #95461C #2F951C #1C6B95
split-complementary
#821C95 #6B951C #1C9546
monochromatic
#28092E #551261 #821C95 #AF26C9 #C74EDE

Accessibility & contrast

On white

8.24
#821C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821C95
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C95#FFFFFF#000000##FFFFFF
##821C951.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#2A5292
Tritanopia (blue-blind)
#833759
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #821c95;
/* rgb */ color: rgb(130, 28, 149);
/* oklch */ color: oklch(45.2% 0.193 320.6);
Tailwind
colors: {
  custom: {
    50: '#aa66b5',
    500: '#821c95',
    950: '#000000',
  },
}
SCSS
$custom: #821c95;
$custom-light: #aa66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#821c95",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 290.579,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.1928,
    "h": 320.6
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#821C95
secondary
#5FC04D
accent
#EB3D58
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #821C95

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

Preview Lab → · Contrast checker → · Palette generator →

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