#AE2FA2#AE2FA2

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

Color values

HEX#AE2FA2
RGBrgb(174, 47, 162)
HSLhsl(306, 57%, 43%)
HSVhsv(306, 73%, 68%)
CMYKcmyk(0%, 73%, 6.9%, 31.8%)
CIE-LABlab(43.72, 62.94, -34.69)
CIE-LCHlch(43.72, 71.86, 331.14°)
OKLaboklab(54.18% 0.1807 -0.0953)
OKLCHoklch(54.18% 0.204 332.2)
XYZxyz(24.9937, 13.6424, 35.4923)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2FA2 #2FAE3B
analogous
#7A2FAE #AE2FA2 #AE2F62
triadic
#AE2FA2 #A2AE2F #2FA2AE
tetradic
#AE2FA2 #AE7A2F #2FAE3B #2F62AE
square
#AE2FA2 #AE7A2F #2FAE3B #2F62AE
split-complementary
#AE2FA2 #62AE2F #2FAE7A
monochromatic
#4E1548 #7E2275 #AE2FA2 #CF4CC2 #DC7CD3

Accessibility & contrast

On white

5.63
#AE2FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AE2FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2FA2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2FA2#FFFFFF#000000##FFFFFF
##AE2FA21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#586E9F
Tritanopia (blue-blind)
#B53D65
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae2fa2;
/* rgb */ color: rgb(174, 47, 162);
/* oklch */ color: oklch(54.2% 0.204 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca74be',
    500: '#ae2fa2',
    950: '#000000',
  },
}
SCSS
$custom: #ae2fa2;
$custom-light: #ca74be;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2fa2",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 305.669,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.2043,
    "h": 332.2
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#AE2FA2
secondary
#75C47C
accent
#E15647
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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