#A322A8#A322A8

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

Color values

HEX#A322A8
RGBrgb(163, 34, 168)
HSLhsl(298, 66%, 40%)
HSVhsv(298, 80%, 66%)
CMYKcmyk(3%, 79.8%, 0%, 34.1%)
CIE-LABlab(40.83, 65.45, -42.96)
CIE-LCHlch(40.83, 78.29, 326.72°)
OKLaboklab(51.87% 0.1802 -0.1195)
OKLCHoklch(51.87% 0.216 326.4)
XYZxyz(22.7437, 11.7594, 38.1101)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A322A8 #27A822
analogous
#6022A8 #A322A8 #A8226A
triadic
#A322A8 #A8A322 #22A8A3
tetradic
#A322A8 #A86022 #27A822 #226AA8
square
#A322A8 #A86022 #27A822 #226AA8
split-complementary
#A322A8 #6AA822 #22A860
monochromatic
#400D42 #721875 #A322A8 #CF32D5 #DB65E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A322A8#FFFFFF#000000##FFFFFF
##A322A81.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)
#0056AB
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#A73B66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a322a8;
/* rgb */ color: rgb(163, 34, 168);
/* oklch */ color: oklch(51.9% 0.216 326.4);
Tailwind
colors: {
  custom: {
    50: '#c26ec2',
    500: '#a322a8',
    950: '#000000',
  },
}
SCSS
$custom: #a322a8;
$custom-light: #c26ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a322a8",
  "rgb": {
    "r": 163,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 297.761,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.21625,
    "h": 326.4
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#A322A8
secondary
#64C561
accent
#E93F45
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A322A8

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

Preview Lab → · Contrast checker → · Palette generator →

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