#A822A9#A822A9

#A822A9 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.219 H 327.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A822A9
RGBrgb(168, 34, 169)
HSLhsl(300, 67%, 40%)
HSVhsv(300, 80%, 66%)
CMYKcmyk(0.6%, 79.9%, 0%, 33.7%)
CIE-LABlab(41.74, 66.61, -42.05)
CIE-LCHlch(41.74, 78.78, 327.74°)
OKLaboklab(52.7% 0.1855 -0.1168)
OKLCHoklch(52.7% 0.219 327.8)
XYZxyz(23.8816, 12.3352, 38.6515)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A822A9 #23A922
analogous
#6522A9 #A822A9 #A92266
triadic
#A822A9 #A9A822 #22A9A8
tetradic
#A822A9 #A96522 #23A922 #2266A9
square
#A822A9 #A96522 #23A922 #2266A9
split-complementary
#A822A9 #66A922 #22A965
monochromatic
#430D43 #751876 #A822A9 #D532D6 #DF65E0

Accessibility & contrast

On white

6.06
#A822A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A822A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A822A9
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A822A9#FFFFFF#000000##FFFFFF
##A822A91.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4968A6
Tritanopia (blue-blind)
#AD3A66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a822a9;
/* rgb */ color: rgb(168, 34, 169);
/* oklch */ color: oklch(52.7% 0.219 327.8);
Tailwind
colors: {
  custom: {
    50: '#c66fc3',
    500: '#a822a9',
    950: '#000000',
  },
}
SCSS
$custom: #a822a9;
$custom-light: #c66fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a822a9",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 299.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52698,
    "c": 0.21918,
    "h": 327.8
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#A822A9
secondary
#62C561
accent
#E93E40
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A822A9

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

Preview Lab → · Contrast checker → · Palette generator →

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