#AA2E9F#AA2E9F

#AA2E9F is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.201 H 331.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AA2E9F
RGBrgb(170, 46, 159)
HSLhsl(305, 57%, 42%)
HSVhsv(305, 73%, 67%)
CMYKcmyk(0%, 72.9%, 6.5%, 33.3%)
CIE-LABlab(42.77, 61.88, -34.42)
CIE-LCHlch(42.77, 70.81, 330.91°)
OKLaboklab(53.32% 0.1774 -0.0947)
OKLCHoklch(53.32% 0.201 331.9)
XYZxyz(23.8126, 13.0052, 34.0503)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E9F #2EAA39
analogous
#772EAA #AA2E9F #AA2E61
triadic
#AA2E9F #9FAA2E #2E9FAA
tetradic
#AA2E9F #AA772E #2EAA39 #2E61AA
square
#AA2E9F #AA772E #2EAA39 #2E61AA
split-complementary
#AA2E9F #61AA2E #2EAA77
monochromatic
#4A1445 #7A2172 #AA2E9F #CD48C2 #DA78D2

Accessibility & contrast

On white

5.83
#AA2E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AA2E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E9F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E9F#FFFFFF#000000##FFFFFF
##AA2E9F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#566B9C
Tritanopia (blue-blind)
#B13C64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2e9f;
/* rgb */ color: rgb(170, 46, 159);
/* oklch */ color: oklch(53.3% 0.201 331.9);
Tailwind
colors: {
  custom: {
    50: '#c773bc',
    500: '#aa2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e9f;
$custom-light: #c773bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e9f",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 305.323,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53318,
    "c": 0.20104,
    "h": 331.9
  },
  "luminance": 0.13003
}

Semantic roles & 50–950 ramp

primary
#AA2E9F
secondary
#71C378
accent
#E15547
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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