#A822A1#A822A1

#A822A1 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.213 H 330.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A822A1
RGBrgb(168, 34, 161)
HSLhsl(303, 66%, 40%)
HSVhsv(303, 80%, 66%)
CMYKcmyk(0%, 79.8%, 4.2%, 34.1%)
CIE-LABlab(41.29, 65.35, -38.00)
CIE-LCHlch(41.29, 75.59, 329.82°)
OKLaboklab(52.23% 0.1857 -0.105)
OKLCHoklch(52.23% 0.213 330.5)
XYZxyz(23.1534, 12.0440, 34.8166)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A822A1 #22A829
analogous
#6C22A8 #A822A1 #A8225E
triadic
#A822A1 #A1A822 #22A1A8
tetradic
#A822A1 #A86C22 #22A829 #225EA8
square
#A822A1 #A86C22 #22A829 #225EA8
split-complementary
#A822A1 #5EA822 #22A86C
monochromatic
#420D3F #751870 #A822A1 #D532CD #E065D9

Accessibility & contrast

On white

6.16
#A822A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A822A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A822A1
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A822A1#FFFFFF#000000##FFFFFF
##A822A11.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A4
Deuteranopia (green-blind)
#4E689E
Tritanopia (blue-blind)
#AF3662
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a822a1;
/* rgb */ color: rgb(168, 34, 161);
/* oklch */ color: oklch(52.2% 0.213 330.5);
Tailwind
colors: {
  custom: {
    50: '#c66ebd',
    500: '#a822a1',
    950: '#000000',
  },
}
SCSS
$custom: #a822a1;
$custom-light: #c66ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#a822a1",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 303.134,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52225,
    "c": 0.21332,
    "h": 330.5
  },
  "luminance": 0.12042
}

Semantic roles & 50–950 ramp

primary
#A822A1
secondary
#61C566
accent
#E9473F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A822A1

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

Preview Lab → · Contrast checker → · Palette generator →

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