#AE2EA7#AE2EA7

#AE2EA7 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.209 H 330.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AE2EA7
RGBrgb(174, 46, 167)
HSLhsl(303, 58%, 43%)
HSVhsv(303, 74%, 68%)
CMYKcmyk(0%, 73.6%, 4%, 31.8%)
CIE-LABlab(43.86, 64.05, -37.43)
CIE-LCHlch(43.86, 74.19, 329.70°)
OKLaboklab(54.37% 0.1818 -0.1033)
OKLCHoklch(54.37% 0.209 330.4)
XYZxyz(25.4075, 13.7447, 37.8665)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2EA7 #2EAE35
analogous
#752EAE #AE2EA7 #AE2E67
triadic
#AE2EA7 #A7AE2E #2EA7AE
tetradic
#AE2EA7 #AE752E #2EAE35 #2E67AE
square
#AE2EA7 #AE752E #2EAE35 #2E67AE
split-complementary
#AE2EA7 #67AE2E #2EAE75
monochromatic
#4D144A #7E2179 #AE2EA7 #CF4AC8 #DC7AD7

Accessibility & contrast

On white

5.60
#AE2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AE2EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2EA7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2EA7#FFFFFF#000000##FFFFFF
##AE2EA71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5DAA
Deuteranopia (green-blind)
#556EA4
Tritanopia (blue-blind)
#B53F68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae2ea7;
/* rgb */ color: rgb(174, 46, 167);
/* oklch */ color: oklch(54.4% 0.209 330.4);
Tailwind
colors: {
  custom: {
    50: '#ca74c1',
    500: '#ae2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #ae2ea7;
$custom-light: #ca74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2ea7",
  "rgb": {
    "r": 174,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 303.281,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.2091,
    "h": 330.4
  },
  "luminance": 0.13743
}

Semantic roles & 50–950 ramp

primary
#AE2EA7
secondary
#74C478
accent
#E14F46
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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