#AA2FA9#AA2FA9

#AA2FA9 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.208 H 328.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AA2FA9
RGBrgb(170, 47, 169)
HSLhsl(300, 57%, 43%)
HSVhsv(300, 72%, 67%)
CMYKcmyk(0%, 72.4%, 0.6%, 33.3%)
CIE-LABlab(43.43, 63.16, -39.36)
CIE-LCHlch(43.43, 74.42, 328.07°)
OKLaboklab(53.96% 0.1767 -0.1089)
OKLCHoklch(53.96% 0.208 328.3)
XYZxyz(24.7552, 13.4455, 38.8198)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FA9 #2FAA30
analogous
#6E2FAA #AA2FA9 #AA2F6B
triadic
#AA2FA9 #A9AA2F #2FA9AA
tetradic
#AA2FA9 #AA6E2F #2FAA30 #2F6BAA
square
#AA2FA9 #AA6E2F #2FAA30 #2F6BAA
split-complementary
#AA2FA9 #6BAA2F #2FAA6E
monochromatic
#4A144A #7A2279 #AA2FA9 #CD49CC #DA79D9

Accessibility & contrast

On white

5.69
#AA2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AA2FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FA9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FA9#FFFFFF#000000##FFFFFF
##AA2FA91.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAC
Deuteranopia (green-blind)
#516CA6
Tritanopia (blue-blind)
#B04169
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2fa9;
/* rgb */ color: rgb(170, 47, 169);
/* oklch */ color: oklch(54.0% 0.208 328.3);
Tailwind
colors: {
  custom: {
    50: '#c774c3',
    500: '#aa2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fa9;
$custom-light: #c774c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fa9",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 300.488,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53962,
    "c": 0.20755,
    "h": 328.3
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#AA2FA9
secondary
#72C273
accent
#E04948
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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