#A822A4#A822A4

#A822A4 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.216 H 329.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A822A4
RGBrgb(168, 34, 164)
HSLhsl(302, 66%, 40%)
HSVhsv(302, 80%, 66%)
CMYKcmyk(0%, 79.8%, 2.4%, 34.1%)
CIE-LABlab(41.46, 65.82, -39.53)
CIE-LCHlch(41.46, 76.77, 329.01°)
OKLaboklab(52.4% 0.1857 -0.1094)
OKLCHoklch(52.4% 0.216 329.5)
XYZxyz(23.4212, 12.1511, 36.2266)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A822A4 #22A826
analogous
#6922A8 #A822A4 #A82261
triadic
#A822A4 #A4A822 #22A4A8
tetradic
#A822A4 #A86922 #22A826 #2261A8
square
#A822A4 #A86922 #22A826 #2261A8
split-complementary
#A822A4 #61A822 #22A869
monochromatic
#420D41 #751872 #A822A4 #D532D1 #E065DC

Accessibility & contrast

On white

6.12
#A822A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A822A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A822A4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A822A4#FFFFFF#000000##FFFFFF
##A822A41.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0157A7
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#AE3863
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a822a4;
/* rgb */ color: rgb(168, 34, 164);
/* oklch */ color: oklch(52.4% 0.216 329.5);
Tailwind
colors: {
  custom: {
    50: '#c66fbf',
    500: '#a822a4',
    950: '#000000',
  },
}
SCSS
$custom: #a822a4;
$custom-light: #c66fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a822a4",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 301.791,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.524,
    "c": 0.21551,
    "h": 329.5
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#A822A4
secondary
#61C564
accent
#E9443F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A822A4

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

Preview Lab → · Contrast checker → · Palette generator →

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