#821A89#821A89

#821A89 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.185 H 325.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#821A89
RGBrgb(130, 26, 137)
HSLhsl(296, 68%, 32%)
HSVhsv(296, 81%, 54%)
CMYKcmyk(5.1%, 81%, 0%, 46.3%)
CIE-LABlab(32.46, 55.74, -37.80)
CIE-LCHlch(32.46, 67.35, 325.85°)
OKLaboklab(44.23% 0.1518 -0.1054)
OKLCHoklch(44.23% 0.185 325.2)
XYZxyz(14.0903, 7.2917, 24.3274)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821A89 #21891A
analogous
#4B1A89 #821A89 #891A59
triadic
#821A89 #89821A #1A8982
tetradic
#821A89 #894B1A #21891A #1A5989
square
#821A89 #894B1A #21891A #1A5989
split-complementary
#821A89 #59891A #1A894B
monochromatic
#200622 #511056 #821A89 #B324BC #D242DB

Accessibility & contrast

On white

8.54
#821A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#821A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821A89
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821A89#FFFFFF#000000##FFFFFF
##821A891.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#853052
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #821a89;
/* rgb */ color: rgb(130, 26, 137);
/* oklch */ color: oklch(44.2% 0.185 325.2);
Tailwind
colors: {
  custom: {
    50: '#aa65ac',
    500: '#821a89',
    950: '#000000',
  },
}
SCSS
$custom: #821a89;
$custom-light: #aa65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#821a89",
  "rgb": {
    "r": 130,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 296.216,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44233,
    "c": 0.18482,
    "h": 325.2
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#821A89
secondary
#4ABC43
accent
#EB3D48
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #821A89

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

Preview Lab → · Contrast checker → · Palette generator →

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