#AA2FA3#AA2FA3

#AA2FA3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.203 H 330.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AA2FA3
RGBrgb(170, 47, 163)
HSLhsl(303, 57%, 43%)
HSVhsv(303, 72%, 67%)
CMYKcmyk(0%, 72.4%, 4.1%, 33.3%)
CIE-LABlab(43.10, 62.18, -36.30)
CIE-LCHlch(43.10, 72.00, 329.73°)
OKLaboklab(53.62% 0.1765 -0.1001)
OKLCHoklch(53.62% 0.203 330.4)
XYZxyz(24.2048, 13.2253, 35.9211)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FA3 #2FAA36
analogous
#742FAA #AA2FA3 #AA2F65
triadic
#AA2FA3 #A3AA2F #2FA3AA
tetradic
#AA2FA3 #AA742F #2FAA36 #2F65AA
square
#AA2FA3 #AA742F #2FAA36 #2F65AA
split-complementary
#AA2FA3 #65AA2F #2FAA74
monochromatic
#4A1447 #7A2275 #AA2FA3 #CD49C5 #DA79D5

Accessibility & contrast

On white

5.76
#AA2FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AA2FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FA3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FA3#FFFFFF#000000##FFFFFF
##AA2FA31.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA6
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#B13F66
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2fa3;
/* rgb */ color: rgb(170, 47, 163);
/* oklch */ color: oklch(53.6% 0.203 330.4);
Tailwind
colors: {
  custom: {
    50: '#c774bf',
    500: '#aa2fa3',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fa3;
$custom-light: #c774bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fa3",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 303.415,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.20294,
    "h": 330.4
  },
  "luminance": 0.13223
}

Semantic roles & 50–950 ramp

primary
#AA2FA3
secondary
#72C277
accent
#E05148
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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