#821777#821777

#821777 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.174 H 333.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#821777
RGBrgb(130, 23, 119)
HSLhsl(306, 70%, 30%)
HSVhsv(306, 82%, 51%)
CMYKcmyk(0%, 82.3%, 8.5%, 49%)
CIE-LABlab(31.09, 53.58, -28.70)
CIE-LCHlch(31.09, 60.78, 331.82°)
OKLaboklab(42.91% 0.1547 -0.0789)
OKLCHoklch(42.91% 0.174 333)
XYZxyz(12.8422, 6.6917, 18.0644)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821777 #178222
analogous
#571782 #821777 #821742
triadic
#821777 #778217 #177782
tetradic
#821777 #825717 #178222 #174282
square
#821777 #825717 #178222 #174282
split-complementary
#821777 #428217 #178257
monochromatic
#1A0518 #4E0E47 #821777 #B620A7 #DC38CB

Accessibility & contrast

On white

8.98
#821777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#821777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821777
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821777#FFFFFF#000000##FFFFFF
##8217771.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104079
Deuteranopia (green-blind)
#3D4E75
Tritanopia (blue-blind)
#882447
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821777;
/* rgb */ color: rgb(130, 23, 119);
/* oklch */ color: oklch(42.9% 0.174 333.0);
Tailwind
colors: {
  custom: {
    50: '#aa639e',
    500: '#821777',
    950: '#000000',
  },
}
SCSS
$custom: #821777;
$custom-light: #aa639e;
$custom-dark: #000000;
JSON
{
  "hex": "#821777",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 306.168,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.17368,
    "h": 333
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#821777
secondary
#3EB64B
accent
#ED4D3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821777

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

Preview Lab → · Contrast checker → · Palette generator →

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