#821B80#821B80

#821B80 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.177 H 329.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#821B80
RGBrgb(130, 27, 128)
HSLhsl(301, 66%, 31%)
HSVhsv(301, 79%, 51%)
CMYKcmyk(0%, 79.2%, 1.5%, 49%)
CIE-LABlab(32.01, 53.90, -32.92)
CIE-LCHlch(32.01, 63.16, 328.59°)
OKLaboklab(43.73% 0.1515 -0.0912)
OKLCHoklch(43.73% 0.177 329)
XYZxyz(13.4940, 7.0892, 21.0755)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B80 #1B821D
analogous
#501B82 #821B80 #821B4C
triadic
#821B80 #80821B #1B8082
tetradic
#821B80 #82501B #1B821D #1B4C82
square
#821B80 #82501B #1B821D #1B4C82
split-complementary
#821B80 #4C821B #1B8250
monochromatic
#1D061C #4F104E #821B80 #B526B2 #D740D4

Accessibility & contrast

On white

8.69
#821B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#821B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B80
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B80#FFFFFF#000000##FFFFFF
##821B801.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044383
Deuteranopia (green-blind)
#3A507E
Tritanopia (blue-blind)
#872B4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #821b80;
/* rgb */ color: rgb(130, 27, 128);
/* oklch */ color: oklch(43.7% 0.177 329.0);
Tailwind
colors: {
  custom: {
    50: '#aa65a5',
    500: '#821b80',
    950: '#000000',
  },
}
SCSS
$custom: #821b80;
$custom-light: #aa65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#821b80",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 301.165,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43733,
    "c": 0.17677,
    "h": 329
  },
  "luminance": 0.07088
}

Semantic roles & 50–950 ramp

primary
#821B80
secondary
#43B645
accent
#E9433F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #821B80

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

Preview Lab → · Contrast checker → · Palette generator →

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