#AA2FA0#AA2FA0

#AA2FA0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.201 H 331.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AA2FA0
RGBrgb(170, 47, 160)
HSLhsl(305, 57%, 43%)
HSVhsv(305, 72%, 67%)
CMYKcmyk(0%, 72.4%, 5.9%, 33.3%)
CIE-LABlab(42.94, 61.70, -34.75)
CIE-LCHlch(42.94, 70.82, 330.61°)
OKLaboklab(53.46% 0.1764 -0.0956)
OKLCHoklch(53.46% 0.201 331.5)
XYZxyz(23.9392, 13.1191, 34.5223)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FA0 #2FAA39
analogous
#762FAA #AA2FA0 #AA2F63
triadic
#AA2FA0 #A0AA2F #2FA0AA
tetradic
#AA2FA0 #AA762F #2FAA39 #2F63AA
square
#AA2FA0 #AA762F #2FAA39 #2F63AA
split-complementary
#AA2FA0 #63AA2F #2FAA76
monochromatic
#4A1446 #7A2273 #AA2FA0 #CD49C2 #DA79D2

Accessibility & contrast

On white

5.80
#AA2FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AA2FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FA0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FA0#FFFFFF#000000##FFFFFF
##AA2FA01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA3
Deuteranopia (green-blind)
#566B9D
Tritanopia (blue-blind)
#B13D64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2fa0;
/* rgb */ color: rgb(170, 47, 160);
/* oklch */ color: oklch(53.5% 0.201 331.5);
Tailwind
colors: {
  custom: {
    50: '#c774bc',
    500: '#aa2fa0',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fa0;
$custom-light: #c774bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fa0",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 304.878,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.20067,
    "h": 331.5
  },
  "luminance": 0.13117
}

Semantic roles & 50–950 ramp

primary
#AA2FA0
secondary
#72C279
accent
#E05448
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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