#AE2AB7#AE2AB7

#AE2AB7 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 55.0% C 0.225 H 325.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AE2AB7
RGBrgb(174, 42, 183)
HSLhsl(296, 63%, 44%)
HSVhsv(296, 77%, 72%)
CMYKcmyk(4.9%, 77%, 0%, 28.2%)
CIE-LABlab(44.34, 67.90, -46.14)
CIE-LCHlch(44.34, 82.09, 325.81°)
OKLaboklab(55% 0.185 -0.1285)
OKLCHoklch(55% 0.225 325.2)
XYZxyz(26.8301, 14.0753, 46.0942)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2AB7 #33B72A
analogous
#682AB7 #AE2AB7 #B72A7A
triadic
#AE2AB7 #B7AE2A #2AB7AE
tetradic
#AE2AB7 #B7682A #33B72A #2A7AB7
square
#AE2AB7 #B7682A #33B72A #2A7AB7
split-complementary
#AE2AB7 #7AB72A #2AB768
monochromatic
#4F1353 #7F1F85 #AE2AB7 #CC49D5 #DA7BE1

Accessibility & contrast

On white

5.51
#AE2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AE2AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2AB7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2AB7#FFFFFF#000000##FFFFFF
##AE2AB71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#496EB4
Tritanopia (blue-blind)
#B24470
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ae2ab7;
/* rgb */ color: rgb(174, 42, 183);
/* oklch */ color: oklch(55.0% 0.225 325.2);
Tailwind
colors: {
  custom: {
    50: '#ca73cd',
    500: '#ae2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #ae2ab7;
$custom-light: #ca73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2ab7",
  "rgb": {
    "r": 174,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 296.17,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55,
    "c": 0.22528,
    "h": 325.2
  },
  "luminance": 0.14073
}

Semantic roles & 50–950 ramp

primary
#AE2AB7
secondary
#79C974
accent
#E6424D
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140913
muted
#827B82

Preview Lab

Preview with #AE2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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