#821976#821976

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

Color values

HEX#821976
RGBrgb(130, 25, 118)
HSLhsl(307, 68%, 30%)
HSVhsv(307, 81%, 51%)
CMYKcmyk(0%, 80.8%, 9.2%, 49%)
CIE-LABlab(31.23, 52.86, -27.85)
CIE-LCHlch(31.23, 59.75, 332.22°)
OKLaboklab(42.99% 0.1531 -0.0765)
OKLCHoklch(42.99% 0.171 333.5)
XYZxyz(12.8237, 6.7502, 17.7636)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821976 #198225
analogous
#591982 #821976 #821941
triadic
#821976 #768219 #197682
tetradic
#821976 #825919 #198225 #194182
square
#821976 #825919 #198225 #194182
split-complementary
#821976 #418219 #198259
monochromatic
#1B0519 #4F0F47 #821976 #B523A5 #D93CC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##821976#FFFFFF#000000##FFFFFF
##8219761.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)
#144078
Deuteranopia (green-blind)
#3F4F74
Tritanopia (blue-blind)
#882547
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #821976;
/* rgb */ color: rgb(130, 25, 118);
/* oklch */ color: oklch(43.0% 0.171 333.5);
Tailwind
colors: {
  custom: {
    50: '#aa649e',
    500: '#821976',
    950: '#000000',
  },
}
SCSS
$custom: #821976;
$custom-light: #aa649e;
$custom-dark: #000000;
JSON
{
  "hex": "#821976",
  "rgb": {
    "r": 130,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 306.857,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42993,
    "c": 0.17109,
    "h": 333.5
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#821976
secondary
#41B64E
accent
#EB513D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821976

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

Preview Lab → · Contrast checker → · Palette generator →

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