#AA2EA5#AA2EA5

#AA2EA5 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.206 H 329.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AA2EA5
RGBrgb(170, 46, 165)
HSLhsl(302, 57%, 42%)
HSVhsv(302, 73%, 67%)
CMYKcmyk(0%, 72.9%, 2.9%, 33.3%)
CIE-LABlab(43.09, 62.84, -37.51)
CIE-LCHlch(43.09, 73.18, 329.17°)
OKLaboklab(53.65% 0.1776 -0.1036)
OKLCHoklch(53.65% 0.206 329.7)
XYZxyz(24.3459, 13.2185, 36.8592)
Luminance0.1322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EA5 #2EAA33
analogous
#712EAA #AA2EA5 #AA2E67
triadic
#AA2EA5 #A5AA2E #2EA5AA
tetradic
#AA2EA5 #AA712E #2EAA33 #2E67AA
square
#AA2EA5 #AA712E #2EAA33 #2E67AA
split-complementary
#AA2EA5 #67AA2E #2EAA71
monochromatic
#4A1448 #7A2176 #AA2EA5 #CD48C8 #DA78D6

Accessibility & contrast

On white

5.76
#AA2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AA2EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EA5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EA5#FFFFFF#000000##FFFFFF
##AA2EA51.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA8
Deuteranopia (green-blind)
#526CA2
Tritanopia (blue-blind)
#B03F67
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2ea5;
/* rgb */ color: rgb(170, 46, 165);
/* oklch */ color: oklch(53.6% 0.206 329.7);
Tailwind
colors: {
  custom: {
    50: '#c773c0',
    500: '#aa2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ea5;
$custom-light: #c773c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ea5",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 302.419,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.20556,
    "h": 329.7
  },
  "luminance": 0.13217
}

Semantic roles & 50–950 ramp

primary
#AA2EA5
secondary
#71C375
accent
#E14D47
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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