#AA2E9E#AA2E9E

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

Color values

HEX#AA2E9E
RGBrgb(170, 46, 158)
HSLhsl(306, 57%, 42%)
HSVhsv(306, 73%, 67%)
CMYKcmyk(0%, 72.9%, 7.1%, 33.3%)
CIE-LABlab(42.72, 61.72, -33.91)
CIE-LCHlch(42.72, 70.42, 331.22°)
OKLaboklab(53.26% 0.1773 -0.0932)
OKLCHoklch(53.26% 0.2 332.3)
XYZxyz(23.7262, 12.9706, 33.5951)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E9E #2EAA3A
analogous
#782EAA #AA2E9E #AA2E60
triadic
#AA2E9E #9EAA2E #2E9EAA
tetradic
#AA2E9E #AA782E #2EAA3A #2E60AA
square
#AA2E9E #AA782E #2EAA3A #2E60AA
split-complementary
#AA2E9E #60AA2E #2EAA78
monochromatic
#4A1444 #7A2171 #AA2E9E #CD48C0 #DA78D1

Accessibility & contrast

On white

5.84
#AA2E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2E9E
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E9E#FFFFFF#000000##FFFFFF
##AA2E9E1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA1
Deuteranopia (green-blind)
#566B9B
Tritanopia (blue-blind)
#B13B63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2e9e;
/* rgb */ color: rgb(170, 46, 158);
/* oklch */ color: oklch(53.3% 0.200 332.3);
Tailwind
colors: {
  custom: {
    50: '#c773bb',
    500: '#aa2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e9e;
$custom-light: #c773bb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e9e",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 305.806,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53263,
    "c": 0.20029,
    "h": 332.3
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#AA2E9E
secondary
#71C379
accent
#E15647
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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