#AA1EA5#AA1EA5

#AA1EA5 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.220 H 329.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA1EA5
RGBrgb(170, 30, 165)
HSLhsl(302, 70%, 39%)
HSVhsv(302, 82%, 67%)
CMYKcmyk(0%, 82.4%, 2.9%, 33.3%)
CIE-LABlab(41.52, 67.36, -40.00)
CIE-LCHlch(41.52, 78.34, 329.30°)
OKLaboklab(52.53% 0.1905 -0.1107)
OKLCHoklch(52.53% 0.22 329.8)
XYZxyz(23.8333, 12.1931, 36.6883)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1EA5 #1EAA23
analogous
#691EAA #AA1EA5 #AA1E5F
triadic
#AA1EA5 #A5AA1E #1EA5AA
tetradic
#AA1EA5 #AA691E #1EAA23 #1E5FAA
square
#AA1EA5 #AA691E #1EAA23 #1E5FAA
split-complementary
#AA1EA5 #5FAA1E #1EAA69
monochromatic
#420C40 #761573 #AA1EA5 #DA2CD3 #E360DE

Accessibility & contrast

On white

6.11
#AA1EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AA1EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1EA5
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1EA5#FFFFFF#000000##FFFFFF
##AA1EA51.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#B03563
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa1ea5;
/* rgb */ color: rgb(170, 30, 165);
/* oklch */ color: oklch(52.5% 0.220 329.8);
Tailwind
colors: {
  custom: {
    50: '#c76ec0',
    500: '#aa1ea5',
    950: '#000000',
  },
}
SCSS
$custom: #aa1ea5;
$custom-light: #c76ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1ea5",
  "rgb": {
    "r": 170,
    "g": 30,
    "b": 165
  },
  "hsl": {
    "h": 302.143,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52531,
    "c": 0.22034,
    "h": 329.8
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#AA1EA5
secondary
#5CC760
accent
#ED413B
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA1EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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