#AE2FA4#AE2FA4

#AE2FA4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.206 H 331.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AE2FA4
RGBrgb(174, 47, 164)
HSLhsl(305, 57%, 43%)
HSVhsv(305, 73%, 68%)
CMYKcmyk(0%, 73%, 5.7%, 31.8%)
CIE-LABlab(43.82, 63.25, -35.71)
CIE-LCHlch(43.82, 72.64, 330.55°)
OKLaboklab(54.29% 0.1808 -0.0983)
OKLCHoklch(54.29% 0.206 331.5)
XYZxyz(25.1729, 13.7141, 36.4360)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2FA4 #2FAE39
analogous
#782FAE #AE2FA4 #AE2F65
triadic
#AE2FA4 #A4AE2F #2FA4AE
tetradic
#AE2FA4 #AE782F #2FAE39 #2F65AE
square
#AE2FA4 #AE782F #2FAE39 #2F65AE
split-complementary
#AE2FA4 #65AE2F #2FAE78
monochromatic
#4E1549 #7E2277 #AE2FA4 #CF4CC4 #DC7CD4

Accessibility & contrast

On white

5.61
#AE2FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AE2FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2FA4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2FA4#FFFFFF#000000##FFFFFF
##AE2FA41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#B53E67
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae2fa4;
/* rgb */ color: rgb(174, 47, 164);
/* oklch */ color: oklch(54.3% 0.206 331.5);
Tailwind
colors: {
  custom: {
    50: '#ca74bf',
    500: '#ae2fa4',
    950: '#000000',
  },
}
SCSS
$custom: #ae2fa4;
$custom-light: #ca74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2fa4",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 304.724,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.20578,
    "h": 331.5
  },
  "luminance": 0.13712
}

Semantic roles & 50–950 ramp

primary
#AE2FA4
secondary
#75C47B
accent
#E15347
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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