#821B86#821B86

#821B86 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.182 H 326.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#821B86
RGBrgb(130, 27, 134)
HSLhsl(298, 66%, 32%)
HSVhsv(298, 80%, 53%)
CMYKcmyk(3%, 79.9%, 0%, 47.5%)
CIE-LABlab(32.37, 54.93, -36.08)
CIE-LCHlch(32.37, 65.72, 326.70°)
OKLaboklab(44.11% 0.1512 -0.1004)
OKLCHoklch(44.11% 0.182 326.4)
XYZxyz(13.9007, 7.2519, 23.2172)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821B86 #1F861B
analogous
#4D1B86 #821B86 #861B55
triadic
#821B86 #86821B #1B8682
tetradic
#821B86 #864D1B #1F861B #1B5586
square
#821B86 #864D1B #1F861B #1B5586
split-complementary
#821B86 #55861B #1B864D
monochromatic
#1F0620 #511153 #821B86 #B325B9 #D342D9

Accessibility & contrast

On white

8.57
#821B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#821B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821B86
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821B86#FFFFFF#000000##FFFFFF
##821B861.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#365083
Tritanopia (blue-blind)
#862F50
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #821b86;
/* rgb */ color: rgb(130, 27, 134);
/* oklch */ color: oklch(44.1% 0.182 326.4);
Tailwind
colors: {
  custom: {
    50: '#aa65aa',
    500: '#821b86',
    950: '#000000',
  },
}
SCSS
$custom: #821b86;
$custom-light: #aa65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#821b86",
  "rgb": {
    "r": 130,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 297.757,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4411,
    "c": 0.18151,
    "h": 326.4
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#821B86
secondary
#48B944
accent
#E93E45
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821B86

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

Preview Lab → · Contrast checker → · Palette generator →

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