#821776#821776

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

Color values

HEX#821776
RGBrgb(130, 23, 118)
HSLhsl(307, 70%, 30%)
HSVhsv(307, 82%, 51%)
CMYKcmyk(0%, 82.3%, 9.2%, 49%)
CIE-LABlab(31.04, 53.42, -28.15)
CIE-LCHlch(31.04, 60.38, 332.21°)
OKLaboklab(42.85% 0.1547 -0.0773)
OKLCHoklch(42.85% 0.173 333.4)
XYZxyz(12.7824, 6.6678, 17.7498)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821776 #178223
analogous
#591782 #821776 #821740
triadic
#821776 #768217 #177682
tetradic
#821776 #825917 #178223 #174082
square
#821776 #825917 #178223 #174082
split-complementary
#821776 #408217 #178259
monochromatic
#1A0518 #4E0E47 #821776 #B620A5 #DC38C9

Accessibility & contrast

On white

9.00
#821776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#821776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821776
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821776#FFFFFF#000000##FFFFFF
##8217761.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123F78
Deuteranopia (green-blind)
#3E4E74
Tritanopia (blue-blind)
#882346
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821776;
/* rgb */ color: rgb(130, 23, 118);
/* oklch */ color: oklch(42.9% 0.173 333.4);
Tailwind
colors: {
  custom: {
    50: '#aa639e',
    500: '#821776',
    950: '#000000',
  },
}
SCSS
$custom: #821776;
$custom-light: #aa639e;
$custom-dark: #000000;
JSON
{
  "hex": "#821776",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 306.729,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.17294,
    "h": 333.4
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#821776
secondary
#3EB64C
accent
#ED4F3B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821776

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

Preview Lab → · Contrast checker → · Palette generator →

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