#821C8B#821C8B

#821C8B is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.5% C 0.185 H 324.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#821C8B
RGBrgb(130, 28, 139)
HSLhsl(295, 66%, 33%)
HSVhsv(295, 80%, 55%)
CMYKcmyk(6.5%, 79.9%, 0%, 45.5%)
CIE-LABlab(32.79, 55.51, -38.52)
CIE-LCHlch(32.79, 67.56, 325.24°)
OKLaboklab(44.51% 0.1501 -0.1075)
OKLCHoklch(44.51% 0.185 324.4)
XYZxyz(14.2810, 7.4413, 25.1052)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821C8B #258B1C
analogous
#4A1C8B #821C8B #8B1C5C
triadic
#821C8B #8B821C #1C8B82
tetradic
#821C8B #8B4A1C #258B1C #1C5C8B
square
#821C8B #8B4A1C #258B1C #1C5C8B
split-complementary
#821C8B #5C8B1C #1C8B4A
monochromatic
#230725 #521258 #821C8B #B226BE #CE47DA

Accessibility & contrast

On white

8.44
#821C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#821C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821C8B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821C8B#FFFFFF#000000##FFFFFF
##821C8B1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#853253
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #821c8b;
/* rgb */ color: rgb(130, 28, 139);
/* oklch */ color: oklch(44.5% 0.185 324.4);
Tailwind
colors: {
  custom: {
    50: '#aa66ad',
    500: '#821c8b',
    950: '#000000',
  },
}
SCSS
$custom: #821c8b;
$custom-light: #aa66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#821c8b",
  "rgb": {
    "r": 130,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 295.135,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44507,
    "c": 0.18458,
    "h": 324.4
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#821C8B
secondary
#50BC47
accent
#E93E4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821C8B

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

Preview Lab → · Contrast checker → · Palette generator →

#821C8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva