#AE2AA4#AE2AA4

#AE2AA4 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.211 H 331.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AE2AA4
RGBrgb(174, 42, 164)
HSLhsl(305, 61%, 42%)
HSVhsv(305, 76%, 68%)
CMYKcmyk(0%, 75.9%, 5.7%, 31.8%)
CIE-LABlab(43.27, 64.83, -36.59)
CIE-LCHlch(43.27, 74.44, 330.56°)
OKLaboklab(53.89% 0.1854 -0.1008)
OKLCHoklch(53.89% 0.211 331.5)
XYZxyz(24.9844, 13.3370, 36.3732)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2AA4 #2AAE34
analogous
#762AAE #AE2AA4 #AE2A62
triadic
#AE2AA4 #A4AE2A #2AA4AE
tetradic
#AE2AA4 #AE762A #2AAE34 #2A62AE
square
#AE2AA4 #AE762A #2AAE34 #2A62AE
split-complementary
#AE2AA4 #62AE2A #2AAE76
monochromatic
#4B1247 #7D1E76 #AE2AA4 #D243C7 #DE75D6

Accessibility & contrast

On white

5.73
#AE2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AE2AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2AA4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2AA4#FFFFFF#000000##FFFFFF
##AE2AA41.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5BA7
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#B53B65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae2aa4;
/* rgb */ color: rgb(174, 42, 164);
/* oklch */ color: oklch(53.9% 0.211 331.5);
Tailwind
colors: {
  custom: {
    50: '#ca72bf',
    500: '#ae2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #ae2aa4;
$custom-light: #ca72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2aa4",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 304.545,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53888,
    "c": 0.211,
    "h": 331.5
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#AE2AA4
secondary
#6FC575
accent
#E45044
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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