#821879#821879

#821879 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.174 H 332.1°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#821879
RGBrgb(130, 24, 121)
HSLhsl(305, 69%, 30%)
HSVhsv(305, 82%, 51%)
CMYKcmyk(0%, 81.5%, 6.9%, 49%)
CIE-LABlab(31.30, 53.62, -29.64)
CIE-LCHlch(31.30, 61.26, 331.07°)
OKLaboklab(43.1% 0.154 -0.0816)
OKLCHoklch(43.1% 0.174 332.1)
XYZxyz(12.9838, 6.7807, 18.7104)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821879 #188221
analogous
#561882 #821879 #821844
triadic
#821879 #798218 #187982
tetradic
#821879 #825618 #188221 #184482
square
#821879 #825618 #188221 #184482
split-complementary
#821879 #448218 #188256
monochromatic
#1B0519 #4E0E49 #821879 #B622A9 #DB3ACD

Accessibility & contrast

On white

8.91
#821879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#821879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821879
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821879#FFFFFF#000000##FFFFFF
##8218791.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407C
Deuteranopia (green-blind)
#3D4F77
Tritanopia (blue-blind)
#882648
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #821879;
/* rgb */ color: rgb(130, 24, 121);
/* oklch */ color: oklch(43.1% 0.174 332.1);
Tailwind
colors: {
  custom: {
    50: '#aa63a0',
    500: '#821879',
    950: '#000000',
  },
}
SCSS
$custom: #821879;
$custom-light: #aa63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#821879",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 305.094,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.17426,
    "h": 332.1
  },
  "luminance": 0.0678
}

Semantic roles & 50–950 ramp

primary
#821879
secondary
#40B64A
accent
#EC4B3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060F
muted
#7F7A7E

Preview Lab

Preview with #821879

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

Preview Lab → · Contrast checker → · Palette generator →

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