#AE2AB4#AE2AB4

#AE2AB4 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.223 H 326.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AE2AB4
RGBrgb(174, 42, 180)
HSLhsl(297, 62%, 44%)
HSVhsv(297, 77%, 71%)
CMYKcmyk(3.3%, 76.7%, 0%, 29.4%)
CIE-LABlab(44.16, 67.40, -44.65)
CIE-LCHlch(44.16, 80.85, 326.48°)
OKLaboklab(54.82% 0.1852 -0.1242)
OKLCHoklch(54.82% 0.223 326.1)
XYZxyz(26.5212, 13.9517, 44.4672)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2AB4 #30B42A
analogous
#692AB4 #AE2AB4 #B42A75
triadic
#AE2AB4 #B4AE2A #2AB4AE
tetradic
#AE2AB4 #B4692A #30B42A #2A75B4
square
#AE2AB4 #B4692A #30B42A #2A75B4
split-complementary
#AE2AB4 #75B42A #2AB469
monochromatic
#4E1351 #7E1E82 #AE2AB4 #CE47D4 #DB79E0

Accessibility & contrast

On white

5.54
#AE2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AE2AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2AB4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2AB4#FFFFFF#000000##FFFFFF
##AE2AB41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#B3436E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae2ab4;
/* rgb */ color: rgb(174, 42, 180);
/* oklch */ color: oklch(54.8% 0.223 326.1);
Tailwind
colors: {
  custom: {
    50: '#ca73cb',
    500: '#ae2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #ae2ab4;
$custom-light: #ca73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2ab4",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 297.391,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54817,
    "c": 0.22298,
    "h": 326.1
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#AE2AB4
secondary
#76C872
accent
#E5434A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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