#AA2E9D#AA2E9D

#AA2E9D is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.2% C 0.200 H 332.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AA2E9D
RGBrgb(170, 46, 157)
HSLhsl(306, 57%, 42%)
HSVhsv(306, 73%, 67%)
CMYKcmyk(0%, 72.9%, 7.6%, 33.3%)
CIE-LABlab(42.67, 61.57, -33.39)
CIE-LCHlch(42.67, 70.04, 331.53°)
OKLaboklab(53.21% 0.1772 -0.0917)
OKLCHoklch(53.21% 0.2 332.6)
XYZxyz(23.6405, 12.9363, 33.1436)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E9D #2EAA3B
analogous
#792EAA #AA2E9D #AA2E5F
triadic
#AA2E9D #9DAA2E #2E9DAA
tetradic
#AA2E9D #AA792E #2EAA3B #2E5FAA
square
#AA2E9D #AA792E #2EAA3B #2E5FAA
split-complementary
#AA2E9D #5FAA2E #2EAA79
monochromatic
#4A1444 #7A2171 #AA2E9D #CD48BF #DA78D0

Accessibility & contrast

On white

5.85
#AA2E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AA2E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E9D
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E9D#FFFFFF#000000##FFFFFF
##AA2E9D1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2859A0
Deuteranopia (green-blind)
#576B9A
Tritanopia (blue-blind)
#B13B62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2e9d;
/* rgb */ color: rgb(170, 46, 157);
/* oklch */ color: oklch(53.2% 0.200 332.6);
Tailwind
colors: {
  custom: {
    50: '#c773ba',
    500: '#aa2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e9d;
$custom-light: #c773ba;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e9d",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 306.29,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53209,
    "c": 0.19955,
    "h": 332.6
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#AA2E9D
secondary
#71C37A
accent
#E15747
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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