#A822A5#A822A5

#A822A5 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.216 H 329.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A822A5
RGBrgb(168, 34, 165)
HSLhsl(301, 66%, 40%)
HSVhsv(301, 80%, 66%)
CMYKcmyk(0%, 79.8%, 1.8%, 34.1%)
CIE-LABlab(41.51, 65.97, -40.03)
CIE-LCHlch(41.51, 77.17, 328.75°)
OKLaboklab(52.46% 0.1856 -0.1109)
OKLCHoklch(52.46% 0.216 329.2)
XYZxyz(23.5118, 12.1873, 36.7041)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A822A5 #22A825
analogous
#6822A8 #A822A5 #A82262
triadic
#A822A5 #A5A822 #22A5A8
tetradic
#A822A5 #A86822 #22A825 #2262A8
square
#A822A5 #A86822 #22A825 #2262A8
split-complementary
#A822A5 #62A822 #22A868
monochromatic
#420D41 #751873 #A822A5 #D532D2 #E065DD

Accessibility & contrast

On white

6.11
#A822A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A822A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A822A5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A822A5#FFFFFF#000000##FFFFFF
##A822A51.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#AE3864
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a822a5;
/* rgb */ color: rgb(168, 34, 165);
/* oklch */ color: oklch(52.5% 0.216 329.2);
Tailwind
colors: {
  custom: {
    50: '#c66fc0',
    500: '#a822a5',
    950: '#000000',
  },
}
SCSS
$custom: #a822a5;
$custom-light: #c66fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#a822a5",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 301.343,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52459,
    "c": 0.21623,
    "h": 329.2
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#A822A5
secondary
#61C563
accent
#E9423F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A822A5

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

Preview Lab → · Contrast checker → · Palette generator →

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