#A321A9#A321A9

#A321A9 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.9% C 0.218 H 326.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A321A9
RGBrgb(163, 33, 169)
HSLhsl(297, 67%, 40%)
HSVhsv(297, 80%, 66%)
CMYKcmyk(3.6%, 80.5%, 0%, 33.7%)
CIE-LABlab(40.80, 65.88, -43.61)
CIE-LCHlch(40.80, 79.01, 326.50°)
OKLaboklab(51.87% 0.1809 -0.1214)
OKLCHoklch(51.87% 0.218 326.1)
XYZxyz(22.8091, 11.7404, 38.5932)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A321A9 #27A921
analogous
#5F21A9 #A321A9 #A9216B
triadic
#A321A9 #A9A321 #21A9A3
tetradic
#A321A9 #A95F21 #27A921 #216BA9
square
#A321A9 #A95F21 #27A921 #216BA9
split-complementary
#A321A9 #6BA921 #21A95F
monochromatic
#400D43 #721776 #A321A9 #CF31D7 #DB64E1

Accessibility & contrast

On white

6.27
#A321A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A321A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A321A9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A321A9#FFFFFF#000000##FFFFFF
##A321A91.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#A73B66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a321a9;
/* rgb */ color: rgb(163, 33, 169);
/* oklch */ color: oklch(51.9% 0.218 326.1);
Tailwind
colors: {
  custom: {
    50: '#c26ec3',
    500: '#a321a9',
    950: '#000000',
  },
}
SCSS
$custom: #a321a9;
$custom-light: #c26ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a321a9",
  "rgb": {
    "r": 163,
    "g": 33,
    "b": 169
  },
  "hsl": {
    "h": 297.353,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.21785,
    "h": 326.1
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#A321A9
secondary
#64C660
accent
#EA3E45
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A321A9

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

Preview Lab → · Contrast checker → · Palette generator →

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