#821876#821876

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

Color values

HEX#821876
RGBrgb(130, 24, 118)
HSLhsl(307, 69%, 30%)
HSVhsv(307, 82%, 51%)
CMYKcmyk(0%, 81.5%, 9.2%, 49%)
CIE-LABlab(31.13, 53.15, -28.00)
CIE-LCHlch(31.13, 60.07, 332.21°)
OKLaboklab(42.92% 0.1539 -0.0769)
OKLCHoklch(42.92% 0.172 333.4)
XYZxyz(12.8027, 6.7082, 17.7566)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821876 #188224
analogous
#591882 #821876 #821841
triadic
#821876 #768218 #187682
tetradic
#821876 #825918 #188224 #184182
square
#821876 #825918 #188224 #184182
split-complementary
#821876 #418218 #188259
monochromatic
#1B0518 #4E0E47 #821876 #B622A5 #DB3AC8

Accessibility & contrast

On white

8.97
#821876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #821876
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821876#FFFFFF#000000##FFFFFF
##8218761.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #821876;
/* rgb */ color: rgb(130, 24, 118);
/* oklch */ color: oklch(42.9% 0.172 333.4);
Tailwind
colors: {
  custom: {
    50: '#aa639e',
    500: '#821876',
    950: '#000000',
  },
}
SCSS
$custom: #821876;
$custom-light: #aa639e;
$custom-dark: #000000;
JSON
{
  "hex": "#821876",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 306.792,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42922,
    "c": 0.17204,
    "h": 333.4
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#821876
secondary
#40B64D
accent
#EC503C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #821876

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

Preview Lab → · Contrast checker → · Palette generator →

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