#AE2FA1#AE2FA1

#AE2FA1 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.204 H 332.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AE2FA1
RGBrgb(174, 47, 161)
HSLhsl(306, 57%, 43%)
HSVhsv(306, 73%, 68%)
CMYKcmyk(0%, 73%, 7.5%, 31.8%)
CIE-LABlab(43.66, 62.78, -34.17)
CIE-LCHlch(43.66, 71.48, 331.44°)
OKLaboklab(54.12% 0.1806 -0.0938)
OKLCHoklch(54.12% 0.204 332.5)
XYZxyz(24.9052, 13.6070, 35.0260)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2FA1 #2FAE3C
analogous
#7B2FAE #AE2FA1 #AE2F61
triadic
#AE2FA1 #A1AE2F #2FA1AE
tetradic
#AE2FA1 #AE7B2F #2FAE3C #2F61AE
square
#AE2FA1 #AE7B2F #2FAE3C #2F61AE
split-complementary
#AE2FA1 #61AE2F #2FAE7B
monochromatic
#4E1548 #7E2274 #AE2FA1 #CF4CC1 #DC7CD2

Accessibility & contrast

On white

5.64
#AE2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AE2FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2FA1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2FA1#FFFFFF#000000##FFFFFF
##AE2FA11.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA4
Deuteranopia (green-blind)
#586E9E
Tritanopia (blue-blind)
#B63C65
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae2fa1;
/* rgb */ color: rgb(174, 47, 161);
/* oklch */ color: oklch(54.1% 0.204 332.5);
Tailwind
colors: {
  custom: {
    50: '#ca74bd',
    500: '#ae2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #ae2fa1;
$custom-light: #ca74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2fa1",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 306.142,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54122,
    "c": 0.20356,
    "h": 332.5
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#AE2FA1
secondary
#75C47D
accent
#E15747
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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