#821779#821779

#821779 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.175 H 332.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#821779
RGBrgb(130, 23, 121)
HSLhsl(305, 70%, 30%)
HSVhsv(305, 82%, 51%)
CMYKcmyk(0%, 82.3%, 6.9%, 49%)
CIE-LABlab(31.21, 53.89, -29.79)
CIE-LCHlch(31.21, 61.58, 331.07°)
OKLaboklab(43.03% 0.1548 -0.082)
OKLCHoklch(43.03% 0.175 332.1)
XYZxyz(12.9636, 6.7402, 18.7037)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821779 #178220
analogous
#561782 #821779 #821743
triadic
#821779 #798217 #177982
tetradic
#821779 #825617 #178220 #174382
square
#821779 #825617 #178220 #174382
split-complementary
#821779 #438217 #178256
monochromatic
#1A0518 #4E0E49 #821779 #B620A9 #DC38CE

Accessibility & contrast

On white

8.94
#821779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#821779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821779
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821779#FFFFFF#000000##FFFFFF
##8217791.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407C
Deuteranopia (green-blind)
#3C4F77
Tritanopia (blue-blind)
#882548
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821779;
/* rgb */ color: rgb(130, 23, 121);
/* oklch */ color: oklch(43.0% 0.175 332.1);
Tailwind
colors: {
  custom: {
    50: '#aa63a0',
    500: '#821779',
    950: '#000000',
  },
}
SCSS
$custom: #821779;
$custom-light: #aa63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#821779",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 305.047,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.4303,
    "c": 0.17516,
    "h": 332.1
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#821779
secondary
#3EB649
accent
#ED4A3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #821779

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

Preview Lab → · Contrast checker → · Palette generator →

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