#A321A8#A321A8

#A321A8 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.217 H 326.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A321A8
RGBrgb(163, 33, 168)
HSLhsl(298, 67%, 39%)
HSVhsv(298, 80%, 66%)
CMYKcmyk(3%, 80.4%, 0%, 34.1%)
CIE-LABlab(40.74, 65.72, -43.11)
CIE-LCHlch(40.74, 78.60, 326.74°)
OKLaboklab(51.8% 0.1809 -0.12)
OKLCHoklch(51.8% 0.217 326.5)
XYZxyz(22.7156, 11.7030, 38.1007)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A321A8 #26A821
analogous
#6021A8 #A321A8 #A8216A
triadic
#A321A8 #A8A321 #21A8A3
tetradic
#A321A8 #A86021 #26A821 #216AA8
square
#A321A8 #A86021 #26A821 #216AA8
split-complementary
#A321A8 #6AA821 #21A860
monochromatic
#400D42 #711775 #A321A8 #D030D6 #DC63E0

Accessibility & contrast

On white

6.29
#A321A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A321A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A321A8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A321A8#FFFFFF#000000##FFFFFF
##A321A81.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4465A5
Tritanopia (blue-blind)
#A73B65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a321a8;
/* rgb */ color: rgb(163, 33, 168);
/* oklch */ color: oklch(51.8% 0.217 326.5);
Tailwind
colors: {
  custom: {
    50: '#c26ec2',
    500: '#a321a8',
    950: '#000000',
  },
}
SCSS
$custom: #a321a8;
$custom-light: #c26ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a321a8",
  "rgb": {
    "r": 163,
    "g": 33,
    "b": 168
  },
  "hsl": {
    "h": 297.778,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.21709,
    "h": 326.5
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#A321A8
secondary
#63C55F
accent
#EA3E44
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A321A8

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

Preview Lab → · Contrast checker → · Palette generator →

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