#AA2FA1#AA2FA1

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

Color values

HEX#AA2FA1
RGBrgb(170, 47, 161)
HSLhsl(304, 57%, 43%)
HSVhsv(304, 72%, 67%)
CMYKcmyk(0%, 72.4%, 5.3%, 33.3%)
CIE-LABlab(42.99, 61.86, -35.27)
CIE-LCHlch(42.99, 71.21, 330.31°)
OKLaboklab(53.51% 0.1765 -0.0971)
OKLCHoklch(53.51% 0.201 331.2)
XYZxyz(24.0271, 13.1542, 34.9848)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2FA1 #2FAA38
analogous
#752FAA #AA2FA1 #AA2F64
triadic
#AA2FA1 #A1AA2F #2FA1AA
tetradic
#AA2FA1 #AA752F #2FAA38 #2F64AA
square
#AA2FA1 #AA752F #2FAA38 #2F64AA
split-complementary
#AA2FA1 #64AA2F #2FAA75
monochromatic
#4A1446 #7A2274 #AA2FA1 #CD49C3 #DA79D3

Accessibility & contrast

On white

5.78
#AA2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AA2FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2FA1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2FA1#FFFFFF#000000##FFFFFF
##AA2FA11.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA4
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#B13E65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2fa1;
/* rgb */ color: rgb(170, 47, 161);
/* oklch */ color: oklch(53.5% 0.201 331.2);
Tailwind
colors: {
  custom: {
    50: '#c774bd',
    500: '#aa2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #aa2fa1;
$custom-light: #c774bd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2fa1",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 304.39,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53512,
    "c": 0.20142,
    "h": 331.2
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#AA2FA1
secondary
#72C278
accent
#E05348
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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