#AE2FA5#AE2FA5

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

Color values

HEX#AE2FA5
RGBrgb(174, 47, 165)
HSLhsl(304, 57%, 43%)
HSVhsv(304, 73%, 68%)
CMYKcmyk(0%, 73%, 5.2%, 31.8%)
CIE-LABlab(43.87, 63.41, -36.23)
CIE-LCHlch(43.87, 73.03, 330.26°)
OKLaboklab(54.34% 0.1808 -0.0998)
OKLCHoklch(54.34% 0.207 331.1)
XYZxyz(25.2636, 13.7503, 36.9135)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2FA5 #2FAE38
analogous
#772FAE #AE2FA5 #AE2F65
triadic
#AE2FA5 #A5AE2F #2FA5AE
tetradic
#AE2FA5 #AE772F #2FAE38 #2F65AE
square
#AE2FA5 #AE772F #2FAE38 #2F65AE
split-complementary
#AE2FA5 #65AE2F #2FAE77
monochromatic
#4E154A #7E2277 #AE2FA5 #CF4CC5 #DC7CD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AE2FA5#FFFFFF#000000##FFFFFF
##AE2FA51.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)
#245CA8
Deuteranopia (green-blind)
#566EA2
Tritanopia (blue-blind)
#B53E67
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae2fa5;
/* rgb */ color: rgb(174, 47, 165);
/* oklch */ color: oklch(54.3% 0.207 331.1);
Tailwind
colors: {
  custom: {
    50: '#ca74c0',
    500: '#ae2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #ae2fa5;
$custom-light: #ca74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2fa5",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 304.252,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.20653,
    "h": 331.1
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

primary
#AE2FA5
secondary
#75C47A
accent
#E15247
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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