#821F89#821F89

#821F89 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.180 H 325.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#821F89
RGBrgb(130, 31, 137)
HSLhsl(296, 63%, 33%)
HSVhsv(296, 77%, 54%)
CMYKcmyk(5.1%, 77.4%, 0%, 46.3%)
CIE-LABlab(32.99, 54.21, -36.96)
CIE-LCHlch(32.99, 65.61, 325.71°)
OKLaboklab(44.61% 0.1476 -0.1029)
OKLCHoklch(44.61% 0.18 325.1)
XYZxyz(14.2109, 7.5329, 24.3675)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821F89 #26891F
analogous
#4D1F89 #821F89 #891F5B
triadic
#821F89 #89821F #1F8982
tetradic
#821F89 #894D1F #26891F #1F5B89
square
#821F89 #894D1F #26891F #1F5B89
split-complementary
#821F89 #5B891F #1F894D
monochromatic
#230825 #531457 #821F89 #B12ABB #CD4CD6

Accessibility & contrast

On white

8.38
#821F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#821F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821F89
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821F89#FFFFFF#000000##FFFFFF
##821F891.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#365286
Tritanopia (blue-blind)
#853253
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #821f89;
/* rgb */ color: rgb(130, 31, 137);
/* oklch */ color: oklch(44.6% 0.180 325.1);
Tailwind
colors: {
  custom: {
    50: '#aa67ac',
    500: '#821f89',
    950: '#000000',
  },
}
SCSS
$custom: #821f89;
$custom-light: #aa67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#821f89",
  "rgb": {
    "r": 130,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 296.038,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.17997,
    "h": 325.1
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#821F89
secondary
#52B94B
accent
#E6424D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #821F89

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

Preview Lab → · Contrast checker → · Palette generator →

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