#A822A2#A822A2

#A822A2 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.214 H 330.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A822A2
RGBrgb(168, 34, 162)
HSLhsl(303, 66%, 40%)
HSVhsv(303, 80%, 66%)
CMYKcmyk(0%, 79.8%, 3.6%, 34.1%)
CIE-LABlab(41.34, 65.50, -38.51)
CIE-LCHlch(41.34, 75.98, 329.55°)
OKLaboklab(52.28% 0.1857 -0.1064)
OKLCHoklch(52.28% 0.214 330.2)
XYZxyz(23.2420, 12.0794, 35.2829)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A822A2 #22A828
analogous
#6B22A8 #A822A2 #A8225F
triadic
#A822A2 #A2A822 #22A2A8
tetradic
#A822A2 #A86B22 #22A828 #225FA8
square
#A822A2 #A86B22 #22A828 #225FA8
split-complementary
#A822A2 #5FA822 #22A86B
monochromatic
#420D40 #751871 #A822A2 #D532CE #E065DA

Accessibility & contrast

On white

6.15
#A822A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A822A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A822A2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A822A2#FFFFFF#000000##FFFFFF
##A822A21.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0856A5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#AE3662
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a822a2;
/* rgb */ color: rgb(168, 34, 162);
/* oklch */ color: oklch(52.3% 0.214 330.2);
Tailwind
colors: {
  custom: {
    50: '#c66fbe',
    500: '#a822a2',
    950: '#000000',
  },
}
SCSS
$custom: #a822a2;
$custom-light: #c66fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a822a2",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 302.687,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.21405,
    "h": 330.2
  },
  "luminance": 0.12078
}

Semantic roles & 50–950 ramp

primary
#A822A2
secondary
#61C565
accent
#E9463F
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A822A2

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

Preview Lab → · Contrast checker → · Palette generator →

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