#821987#821987

#821987 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.184 H 326.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#821987
RGBrgb(130, 25, 135)
HSLhsl(297, 69%, 31%)
HSVhsv(297, 81%, 53%)
CMYKcmyk(3.7%, 81.5%, 0%, 47.1%)
CIE-LABlab(32.24, 55.67, -36.92)
CIE-LCHlch(32.24, 66.80, 326.45°)
OKLaboklab(44.03% 0.1528 -0.1028)
OKLCHoklch(44.03% 0.184 326.1)
XYZxyz(13.9264, 7.1913, 23.5715)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821987 #1E8719
analogous
#4B1987 #821987 #871955
triadic
#821987 #878219 #198782
tetradic
#821987 #874B19 #1E8719 #195587
square
#821987 #874B19 #1E8719 #195587
split-complementary
#821987 #558719 #19874B
monochromatic
#1F0620 #500F53 #821987 #B423BB #D43FDB

Accessibility & contrast

On white

8.61
#821987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#821987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821987
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821987#FFFFFF#000000##FFFFFF
##8219871.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#852E51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #821987;
/* rgb */ color: rgb(130, 25, 135);
/* oklch */ color: oklch(44.0% 0.184 326.1);
Tailwind
colors: {
  custom: {
    50: '#aa64aa',
    500: '#821987',
    950: '#000000',
  },
}
SCSS
$custom: #821987;
$custom-light: #aa64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#821987",
  "rgb": {
    "r": 130,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 297.273,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44034,
    "c": 0.18413,
    "h": 326.1
  },
  "luminance": 0.0719
}

Semantic roles & 50–950 ramp

primary
#821987
secondary
#47BA41
accent
#EC3C44
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821987

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

Preview Lab → · Contrast checker → · Palette generator →

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