#A822AF#A822AF

#A822AF is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.1% C 0.224 H 325.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A822AF
RGBrgb(168, 34, 175)
HSLhsl(297, 67%, 41%)
HSVhsv(297, 81%, 69%)
CMYKcmyk(4%, 80.6%, 0%, 31.4%)
CIE-LABlab(42.10, 67.59, -45.05)
CIE-LCHlch(42.10, 81.23, 326.32°)
OKLaboklab(53.07% 0.1851 -0.1255)
OKLCHoklch(53.07% 0.224 325.9)
XYZxyz(24.4578, 12.5657, 41.6864)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A822AF #29AF22
analogous
#6122AF #A822AF #AF226F
triadic
#A822AF #AFA822 #22AFA8
tetradic
#A822AF #AF6122 #29AF22 #226FAF
square
#A822AF #AF6122 #29AF22 #226FAF
split-complementary
#A822AF #6FAF22 #22AF61
monochromatic
#460E49 #77187C #A822AF #D036D8 #DC69E2

Accessibility & contrast

On white

5.98
#A822AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A822AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A822AF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A822AF#FFFFFF#000000##FFFFFF
##A822AF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#AC3E6A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a822af;
/* rgb */ color: rgb(168, 34, 175);
/* oklch */ color: oklch(53.1% 0.224 325.9);
Tailwind
colors: {
  custom: {
    50: '#c66fc7',
    500: '#a822af',
    950: '#000000',
  },
}
SCSS
$custom: #a822af;
$custom-light: #c66fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a822af",
  "rgb": {
    "r": 168,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 297.021,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53066,
    "c": 0.22365,
    "h": 325.9
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#A822AF
secondary
#6AC865
accent
#EA3D46
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A822AF

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

Preview Lab → · Contrast checker → · Palette generator →

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