#AA2EA7#AA2EA7

#AA2EA7 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.207 H 329.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AA2EA7
RGBrgb(170, 46, 167)
HSLhsl(301, 57%, 42%)
HSVhsv(301, 73%, 67%)
CMYKcmyk(0%, 72.9%, 1.8%, 33.3%)
CIE-LABlab(43.20, 63.16, -38.53)
CIE-LCHlch(43.20, 73.99, 328.62°)
OKLaboklab(53.76% 0.1776 -0.1065)
OKLCHoklch(53.76% 0.207 329)
XYZxyz(24.5294, 13.2919, 37.8254)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EA7 #2EAA31
analogous
#6F2EAA #AA2EA7 #AA2E69
triadic
#AA2EA7 #A7AA2E #2EA7AA
tetradic
#AA2EA7 #AA6F2E #2EAA31 #2E69AA
square
#AA2EA7 #AA6F2E #2EAA31 #2E69AA
split-complementary
#AA2EA7 #69AA2E #2EAA6F
monochromatic
#4A1448 #7A2178 #AA2EA7 #CD48CA #DA78D8

Accessibility & contrast

On white

5.74
#AA2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AA2EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EA7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EA7#FFFFFF#000000##FFFFFF
##AA2EA71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5CAA
Deuteranopia (green-blind)
#516CA4
Tritanopia (blue-blind)
#B04068
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2ea7;
/* rgb */ color: rgb(170, 46, 167);
/* oklch */ color: oklch(53.8% 0.207 329.0);
Tailwind
colors: {
  custom: {
    50: '#c774c1',
    500: '#aa2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ea7;
$custom-light: #c774c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ea7",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 301.452,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53764,
    "c": 0.2071,
    "h": 329
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#AA2EA7
secondary
#71C373
accent
#E14B47
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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