#AA2FA5#AA2FA5

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

Color values

HEX#AA2FA5
RGBrgb(170, 47, 165)
HSLhsl(302, 57%, 43%)
HSVhsv(302, 72%, 67%)
CMYKcmyk(0%, 72.4%, 2.9%, 33.3%)
CIE-LABlab(43.21, 62.51, -37.32)
CIE-LCHlch(43.21, 72.80, 329.16°)
OKLaboklab(53.74% 0.1766 -0.103)
OKLCHoklch(53.74% 0.204 329.7)
XYZxyz(24.3855, 13.2975, 36.8723)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FA5 #2FAA34
analogous
#712FAA #AA2FA5 #AA2F68
triadic
#AA2FA5 #A5AA2F #2FA5AA
tetradic
#AA2FA5 #AA712F #2FAA34 #2F68AA
square
#AA2FA5 #AA712F #2FAA34 #2F68AA
split-complementary
#AA2FA5 #68AA2F #2FAA71
monochromatic
#4A1448 #7A2276 #AA2FA5 #CD49C7 #DA79D6

Accessibility & contrast

On white

5.74
#AA2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2FA5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FA5#FFFFFF#000000##FFFFFF
##AA2FA51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#B03F67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2fa5;
/* rgb */ color: rgb(170, 47, 165);
/* oklch */ color: oklch(53.7% 0.204 329.7);
Tailwind
colors: {
  custom: {
    50: '#c774c0',
    500: '#aa2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fa5;
$custom-light: #c774c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fa5",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 302.439,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53735,
    "c": 0.20447,
    "h": 329.7
  },
  "luminance": 0.13296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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