#AE2AA2#AE2AA2

#AE2AA2 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.210 H 332.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AE2AA2
RGBrgb(174, 42, 162)
HSLhsl(305, 61%, 42%)
HSVhsv(305, 76%, 68%)
CMYKcmyk(0%, 75.9%, 6.9%, 31.8%)
CIE-LABlab(43.16, 64.52, -35.56)
CIE-LCHlch(43.16, 73.67, 331.14°)
OKLaboklab(53.78% 0.1853 -0.0978)
OKLCHoklch(53.78% 0.21 332.2)
XYZxyz(24.8052, 13.2653, 35.4294)
Luminance0.1326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2AA2 #2AAE36
analogous
#782AAE #AE2AA2 #AE2A60
triadic
#AE2AA2 #A2AE2A #2AA2AE
tetradic
#AE2AA2 #AE782A #2AAE36 #2A60AE
square
#AE2AA2 #AE782A #2AAE36 #2A60AE
split-complementary
#AE2AA2 #60AE2A #2AAE78
monochromatic
#4B1246 #7D1E74 #AE2AA2 #D243C5 #DE75D4

Accessibility & contrast

On white

5.75
#AE2AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AE2AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2AA2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2AA2#FFFFFF#000000##FFFFFF
##AE2AA21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205AA5
Deuteranopia (green-blind)
#566C9F
Tritanopia (blue-blind)
#B63A64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae2aa2;
/* rgb */ color: rgb(174, 42, 162);
/* oklch */ color: oklch(53.8% 0.210 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca72be',
    500: '#ae2aa2',
    950: '#000000',
  },
}
SCSS
$custom: #ae2aa2;
$custom-light: #ca72be;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2aa2",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 305.455,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53777,
    "c": 0.20954,
    "h": 332.2
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#AE2AA2
secondary
#6FC577
accent
#E45244
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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