#AA22BC#AA22BC

#AA22BC is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.2% C 0.234 H 322.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AA22BC
RGBrgb(170, 34, 188)
HSLhsl(293, 69%, 44%)
HSVhsv(293, 82%, 74%)
CMYKcmyk(9.6%, 81.9%, 0%, 26.3%)
CIE-LABlab(43.25, 70.14, -50.86)
CIE-LCHlch(43.25, 86.65, 324.05°)
OKLaboklab(54.2% 0.186 -0.1424)
OKLCHoklch(54.2% 0.234 322.6)
XYZxyz(26.2258, 13.3225, 48.7573)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA22BC #34BC22
analogous
#5D22BC #AA22BC #BC2281
triadic
#AA22BC #BCAA22 #22BCAA
tetradic
#AA22BC #BC5D22 #34BC22 #2281BC
square
#AA22BC #BC5D22 #34BC22 #2281BC
split-complementary
#AA22BC #81BC22 #22BC5D
monochromatic
#4C0F54 #7B1988 #AA22BC #CA3FDC #D873E6

Accessibility & contrast

On white

5.73
#AA22BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AA22BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA22BC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA22BC#FFFFFF#000000##FFFFFF
##AA22BC1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#AC4471
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa22bc;
/* rgb */ color: rgb(170, 34, 188);
/* oklch */ color: oklch(54.2% 0.234 322.6);
Tailwind
colors: {
  custom: {
    50: '#c870d1',
    500: '#aa22bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa22bc;
$custom-light: #c870d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa22bc",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 292.987,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54196,
    "c": 0.2343,
    "h": 322.6
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#AA22BC
secondary
#78CD6D
accent
#EC3C50
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #AA22BC

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

Preview Lab → · Contrast checker → · Palette generator →

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