#AA2FA4#AA2FA4

#AA2FA4 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.204 H 330.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AA2FA4
RGBrgb(170, 47, 164)
HSLhsl(303, 57%, 43%)
HSVhsv(303, 72%, 67%)
CMYKcmyk(0%, 72.4%, 3.5%, 33.3%)
CIE-LABlab(43.15, 62.34, -36.81)
CIE-LCHlch(43.15, 72.40, 329.44°)
OKLaboklab(53.68% 0.1766 -0.1016)
OKLCHoklch(53.68% 0.204 330.1)
XYZxyz(24.2948, 13.2613, 36.3949)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FA4 #2FAA35
analogous
#732FAA #AA2FA4 #AA2F66
triadic
#AA2FA4 #A4AA2F #2FA4AA
tetradic
#AA2FA4 #AA732F #2FAA35 #2F66AA
square
#AA2FA4 #AA732F #2FAA35 #2F66AA
split-complementary
#AA2FA4 #66AA2F #2FAA73
monochromatic
#4A1447 #7A2276 #AA2FA4 #CD49C6 #DA79D5

Accessibility & contrast

On white

5.75
#AA2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AA2FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FA4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FA4#FFFFFF#000000##FFFFFF
##AA2FA41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215BA7
Deuteranopia (green-blind)
#536CA1
Tritanopia (blue-blind)
#B03F67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2fa4;
/* rgb */ color: rgb(170, 47, 164);
/* oklch */ color: oklch(53.7% 0.204 330.1);
Tailwind
colors: {
  custom: {
    50: '#c774bf',
    500: '#aa2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fa4;
$custom-light: #c774bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fa4",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 302.927,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53679,
    "c": 0.2037,
    "h": 330.1
  },
  "luminance": 0.13259
}

Semantic roles & 50–950 ramp

primary
#AA2FA4
secondary
#72C276
accent
#E04F48
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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