#AA1EA2#AA1EA2

#AA1EA2 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.218 H 330.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AA1EA2
RGBrgb(170, 30, 162)
HSLhsl(303, 70%, 39%)
HSVhsv(303, 82%, 67%)
CMYKcmyk(0%, 82.4%, 4.7%, 33.3%)
CIE-LABlab(41.35, 66.90, -38.47)
CIE-LCHlch(41.35, 77.17, 330.10°)
OKLaboklab(52.36% 0.1906 -0.1063)
OKLCHoklch(52.36% 0.218 330.9)
XYZxyz(23.5634, 12.0852, 35.2671)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1EA2 #1EAA26
analogous
#6C1EAA #AA1EA2 #AA1E5C
triadic
#AA1EA2 #A2AA1E #1EA2AA
tetradic
#AA1EA2 #AA6C1E #1EAA26 #1E5CAA
square
#AA1EA2 #AA6C1E #1EAA26 #1E5CAA
split-complementary
#AA1EA2 #5CAA1E #1EAA6C
monochromatic
#420C3F #761570 #AA1EA2 #DA2CD0 #E360DB

Accessibility & contrast

On white

6.15
#AA1EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA1EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1EA2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1EA2#FFFFFF#000000##FFFFFF
##AA1EA21.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0356A5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#B13461
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1ea2;
/* rgb */ color: rgb(170, 30, 162);
/* oklch */ color: oklch(52.4% 0.218 330.9);
Tailwind
colors: {
  custom: {
    50: '#c76ebe',
    500: '#aa1ea2',
    950: '#000000',
  },
}
SCSS
$custom: #aa1ea2;
$custom-light: #c76ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1ea2",
  "rgb": {
    "r": 170,
    "g": 30,
    "b": 162
  },
  "hsl": {
    "h": 303.429,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52355,
    "c": 0.21821,
    "h": 330.9
  },
  "luminance": 0.12083
}

Semantic roles & 50–950 ramp

primary
#AA1EA2
secondary
#5CC763
accent
#ED453B
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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