#AA229A#AA229A

#AA229A is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.209 H 333.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AA229A
RGBrgb(170, 34, 154)
HSLhsl(307, 67%, 40%)
HSVhsv(307, 80%, 67%)
CMYKcmyk(0%, 80%, 9.4%, 33.3%)
CIE-LABlab(41.26, 64.70, -33.80)
CIE-LCHlch(41.26, 73.00, 332.42°)
OKLaboklab(52.15% 0.1876 -0.0928)
OKLCHoklch(52.15% 0.209 333.7)
XYZxyz(22.9825, 12.0252, 31.6763)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA229A #22AA32
analogous
#7622AA #AA229A #AA2256
triadic
#AA229A #9AAA22 #229AAA
tetradic
#AA229A #AA7622 #22AA32 #2256AA
square
#AA229A #AA7622 #22AA32 #2256AA
split-complementary
#AA229A #56AA22 #22AA76
monochromatic
#440E3E #77186C #AA229A #D633C3 #E066D2

Accessibility & contrast

On white

6.17
#AA229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA229A
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA229A#FFFFFF#000000##FFFFFF
##AA229A1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559D
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#B2315E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa229a;
/* rgb */ color: rgb(170, 34, 154);
/* oklch */ color: oklch(52.1% 0.209 333.7);
Tailwind
colors: {
  custom: {
    50: '#c76eb8',
    500: '#aa229a',
    950: '#000000',
  },
}
SCSS
$custom: #aa229a;
$custom-light: #c76eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa229a",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 307.059,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.52146,
    "c": 0.20932,
    "h": 333.7
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#AA229A
secondary
#62C66E
accent
#EA523E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA229A

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

Preview Lab → · Contrast checker → · Palette generator →

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