#AA2AE2#AA2AE2

#AA2AE2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.3% C 0.258 H 312.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AA2AE2
RGBrgb(170, 42, 226)
HSLhsl(282, 76%, 53%)
HSVhsv(282, 81%, 89%)
CMYKcmyk(24.8%, 81.4%, 0%, 11.4%)
CIE-LABlab(46.57, 74.96, -67.43)
CIE-LCHlch(46.57, 100.82, 318.03°)
OKLaboklab(57.35% 0.1738 -0.1911)
OKLCHoklch(57.35% 0.258 312.3)
XYZxyz(31.1305, 15.6939, 73.3261)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AE2 #62E22A
analogous
#4E2AE2 #AA2AE2 #E22ABE
triadic
#AA2AE2 #E2AA2A #2AE2AA
tetradic
#AA2AE2 #E24E2A #62E22A #2ABEE2
square
#AA2AE2 #E24E2A #62E22A #2ABEE2
split-complementary
#AA2AE2 #BEE22A #2AE24E
monochromatic
#5E1180 #8619B6 #AA2AE2 #BF60E9 #D596F1

Accessibility & contrast

On white

5.07
#AA2AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AA2AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AE2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AE2#FFFFFF#000000##FFFFFF
##AA2AE21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#A35A89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa2ae2;
/* rgb */ color: rgb(170, 42, 226);
/* oklch */ color: oklch(57.3% 0.258 312.3);
Tailwind
colors: {
  custom: {
    50: '#c975ec',
    500: '#aa2ae2',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ae2;
$custom-light: #c975ec;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ae2",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 226
  },
  "hsl": {
    "h": 281.739,
    "s": 76.033,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57349,
    "c": 0.25833,
    "h": 312.3
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#AA2AE2
secondary
#A4DC8C
accent
#F3356F
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140916
muted
#837B84

Preview Lab

Preview with #AA2AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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