#A321A6#A321A6

#A321A6 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.216 H 327.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A321A6
RGBrgb(163, 33, 166)
HSLhsl(299, 67%, 39%)
HSVhsv(299, 80%, 65%)
CMYKcmyk(1.8%, 80.1%, 0%, 34.9%)
CIE-LABlab(40.62, 65.39, -42.10)
CIE-LCHlch(40.62, 77.77, 327.22°)
OKLaboklab(51.68% 0.1811 -0.117)
OKLCHoklch(51.68% 0.216 327.1)
XYZxyz(22.5307, 11.6291, 37.1269)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A321A6 #24A621
analogous
#6121A6 #A321A6 #A62167
triadic
#A321A6 #A6A321 #21A6A3
tetradic
#A321A6 #A66121 #24A621 #2167A6
square
#A321A6 #A66121 #24A621 #2167A6
split-complementary
#A321A6 #67A621 #21A661
monochromatic
#3F0D40 #711773 #A321A6 #D22FD6 #DD62E0

Accessibility & contrast

On white

6.32
#A321A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A321A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A321A6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A321A6#FFFFFF#000000##FFFFFF
##A321A61.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#4665A3
Tritanopia (blue-blind)
#A83A64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a321a6;
/* rgb */ color: rgb(163, 33, 166);
/* oklch */ color: oklch(51.7% 0.216 327.1);
Tailwind
colors: {
  custom: {
    50: '#c26ec1',
    500: '#a321a6',
    950: '#000000',
  },
}
SCSS
$custom: #a321a6;
$custom-light: #c26ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a321a6",
  "rgb": {
    "r": 163,
    "g": 33,
    "b": 166
  },
  "hsl": {
    "h": 298.647,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51681,
    "c": 0.21559,
    "h": 327.1
  },
  "luminance": 0.11627
}

Semantic roles & 50–950 ramp

primary
#A321A6
secondary
#60C55E
accent
#EA3E42
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A321A6

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

Preview Lab → · Contrast checker → · Palette generator →

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