#AA2EE5#AA2EE5

#AA2EE5 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.8% C 0.258 H 311.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AA2EE5
RGBrgb(170, 46, 229)
HSLhsl(281, 78%, 54%)
HSVhsv(281, 80%, 90%)
CMYKcmyk(25.8%, 79.9%, 0%, 10.2%)
CIE-LABlab(47.18, 74.39, -68.14)
CIE-LCHlch(47.18, 100.88, 317.51°)
OKLaboklab(57.84% 0.1704 -0.1932)
OKLCHoklch(57.84% 0.258 311.4)
XYZxyz(31.6947, 16.1580, 75.5627)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2EE5 #69E52E
analogous
#4F2EE5 #AA2EE5 #E52EC4
triadic
#AA2EE5 #E5AA2E #2EE5AA
tetradic
#AA2EE5 #E54F2E #69E52E #2EC4E5
square
#AA2EE5 #E54F2E #69E52E #2EC4E5
split-complementary
#AA2EE5 #C4E52E #2EE54F
monochromatic
#611188 #8818BE #AA2EE5 #C064EC #D69BF3

Accessibility & contrast

On white

4.96
#AA2EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AA2EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2EE5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2EE5#FFFFFF#000000##FFFFFF
##AA2EE51.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#A25D8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa2ee5;
/* rgb */ color: rgb(170, 46, 229);
/* oklch */ color: oklch(57.8% 0.258 311.4);
Tailwind
colors: {
  custom: {
    50: '#c976ee',
    500: '#aa2ee5',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ee5;
$custom-light: #c976ee;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ee5",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 229
  },
  "hsl": {
    "h": 280.656,
    "s": 77.872,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57844,
    "c": 0.25762,
    "h": 311.4
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#AA2EE5
secondary
#AADE90
accent
#F43372
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AA2EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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