#AA1EA1#AA1EA1

#AA1EA1 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.3% C 0.218 H 331.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AA1EA1
RGBrgb(170, 30, 161)
HSLhsl(304, 70%, 39%)
HSVhsv(304, 82%, 67%)
CMYKcmyk(0%, 82.4%, 5.3%, 33.3%)
CIE-LABlab(41.30, 66.75, -37.96)
CIE-LCHlch(41.30, 76.78, 330.37°)
OKLaboklab(52.3% 0.1906 -0.1048)
OKLCHoklch(52.3% 0.218 331.2)
XYZxyz(23.4749, 12.0498, 34.8008)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1EA1 #1EAA27
analogous
#6D1EAA #AA1EA1 #AA1E5B
triadic
#AA1EA1 #A1AA1E #1EA1AA
tetradic
#AA1EA1 #AA6D1E #1EAA27 #1E5BAA
square
#AA1EA1 #AA6D1E #1EAA27 #1E5BAA
split-complementary
#AA1EA1 #5BAA1E #1EAA6D
monochromatic
#420C3E #761570 #AA1EA1 #DA2CCE #E360DA

Accessibility & contrast

On white

6.16
#AA1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AA1EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1EA1
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1EA1#FFFFFF#000000##FFFFFF
##AA1EA11.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0655A4
Deuteranopia (green-blind)
#4F689E
Tritanopia (blue-blind)
#B13361
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa1ea1;
/* rgb */ color: rgb(170, 30, 161);
/* oklch */ color: oklch(52.3% 0.218 331.2);
Tailwind
colors: {
  custom: {
    50: '#c76dbd',
    500: '#aa1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #aa1ea1;
$custom-light: #c76dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1ea1",
  "rgb": {
    "r": 170,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 303.857,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52297,
    "c": 0.21751,
    "h": 331.2
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#AA1EA1
secondary
#5CC763
accent
#ED463B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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