#821771#821771

#821771 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.169 H 335.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#821771
RGBrgb(130, 23, 113)
HSLhsl(310, 70%, 30%)
HSVhsv(310, 82%, 51%)
CMYKcmyk(0%, 82.3%, 13.1%, 49%)
CIE-LABlab(30.76, 52.65, -25.41)
CIE-LCHlch(30.76, 58.46, 334.24°)
OKLaboklab(42.57% 0.1545 -0.0694)
OKLCHoklch(42.57% 0.169 335.8)
XYZxyz(12.4932, 6.5520, 16.2263)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821771 #178228
analogous
#5E1782 #821771 #82173B
triadic
#821771 #718217 #177182
tetradic
#821771 #825E17 #178228 #173B82
square
#821771 #825E17 #178228 #173B82
split-complementary
#821771 #3B8217 #17825E
monochromatic
#1A0517 #4E0E44 #821771 #B6209E #DC38C2

Accessibility & contrast

On white

9.09
#821771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#821771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821771
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821771#FFFFFF#000000##FFFFFF
##8217711.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#404E6F
Tritanopia (blue-blind)
#892144
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #821771;
/* rgb */ color: rgb(130, 23, 113);
/* oklch */ color: oklch(42.6% 0.169 335.8);
Tailwind
colors: {
  custom: {
    50: '#aa639a',
    500: '#821771',
    950: '#000000',
  },
}
SCSS
$custom: #821771;
$custom-light: #aa639a;
$custom-dark: #000000;
JSON
{
  "hex": "#821771",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 309.533,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.16933,
    "h": 335.8
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#821771
secondary
#3EB652
accent
#ED573B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821771

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

Preview Lab → · Contrast checker → · Palette generator →

#821771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva