#AA2EA2#AA2EA2

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

Color values

HEX#AA2EA2
RGBrgb(170, 46, 162)
HSLhsl(304, 57%, 42%)
HSVhsv(304, 73%, 67%)
CMYKcmyk(0%, 72.9%, 4.7%, 33.3%)
CIE-LABlab(42.93, 62.36, -35.97)
CIE-LCHlch(42.93, 71.99, 330.02°)
OKLaboklab(53.48% 0.1775 -0.0991)
OKLCHoklch(53.48% 0.203 330.8)
XYZxyz(24.0761, 13.1106, 35.4380)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EA2 #2EAA36
analogous
#742EAA #AA2EA2 #AA2E64
triadic
#AA2EA2 #A2AA2E #2EA2AA
tetradic
#AA2EA2 #AA742E #2EAA36 #2E64AA
square
#AA2EA2 #AA742E #2EAA36 #2E64AA
split-complementary
#AA2EA2 #64AA2E #2EAA74
monochromatic
#4A1446 #7A2174 #AA2EA2 #CD48C5 #DA78D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA2EA2#FFFFFF#000000##FFFFFF
##AA2EA21.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)
#225AA5
Deuteranopia (green-blind)
#546B9F
Tritanopia (blue-blind)
#B13D65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2ea2;
/* rgb */ color: rgb(170, 46, 162);
/* oklch */ color: oklch(53.5% 0.203 330.8);
Tailwind
colors: {
  custom: {
    50: '#c773be',
    500: '#aa2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ea2;
$custom-light: #c773be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ea2",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 303.871,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53483,
    "c": 0.20329,
    "h": 330.8
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#AA2EA2
secondary
#71C377
accent
#E15147
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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