#AA22AF#AA22AF

#AA22AF is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.224 H 326.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AA22AF
RGBrgb(170, 34, 175)
HSLhsl(298, 67%, 41%)
HSVhsv(298, 81%, 69%)
CMYKcmyk(2.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(42.44, 67.98, -44.49)
CIE-LCHlch(42.44, 81.24, 326.80°)
OKLaboklab(53.37% 0.1873 -0.1238)
OKLCHoklch(53.37% 0.224 326.5)
XYZxyz(24.8870, 12.7870, 41.7065)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22AF #27AF22
analogous
#6322AF #AA22AF #AF226D
triadic
#AA22AF #AFAA22 #22AFAA
tetradic
#AA22AF #AF6322 #27AF22 #226DAF
square
#AA22AF #AF6322 #27AF22 #226DAF
split-complementary
#AA22AF #6DAF22 #22AF63
monochromatic
#460E49 #78187C #AA22AF #D236D8 #DE69E2

Accessibility & contrast

On white

5.90
#AA22AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AA22AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA22AF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA22AF#FFFFFF#000000##FFFFFF
##AA22AF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#AF3D6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa22af;
/* rgb */ color: rgb(170, 34, 175);
/* oklch */ color: oklch(53.4% 0.224 326.5);
Tailwind
colors: {
  custom: {
    50: '#c76fc7',
    500: '#aa22af',
    950: '#000000',
  },
}
SCSS
$custom: #aa22af;
$custom-light: #c76fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22af",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 297.872,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53371,
    "c": 0.22449,
    "h": 326.5
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#AA22AF
secondary
#69C865
accent
#EA3D44
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140813
muted
#827B82

Preview Lab

Preview with #AA22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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