#AE2FA6#AE2FA6

#AE2FA6 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.207 H 330.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AE2FA6
RGBrgb(174, 47, 166)
HSLhsl(304, 57%, 43%)
HSVhsv(304, 73%, 68%)
CMYKcmyk(0%, 73%, 4.6%, 31.8%)
CIE-LABlab(43.93, 63.57, -36.74)
CIE-LCHlch(43.93, 73.42, 329.97°)
OKLaboklab(54.4% 0.1809 -0.1013)
OKLCHoklch(54.4% 0.207 330.8)
XYZxyz(25.3549, 13.7869, 37.3947)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2FA6 #2FAE37
analogous
#772FAE #AE2FA6 #AE2F66
triadic
#AE2FA6 #A6AE2F #2FA6AE
tetradic
#AE2FA6 #AE772F #2FAE37 #2F66AE
square
#AE2FA6 #AE772F #2FAE37 #2F66AE
split-complementary
#AE2FA6 #66AE2F #2FAE77
monochromatic
#4E154A #7E2278 #AE2FA6 #CF4CC6 #DC7CD6

Accessibility & contrast

On white

5.59
#AE2FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AE2FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2FA6
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2FA6#FFFFFF#000000##FFFFFF
##AE2FA61.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DA9
Deuteranopia (green-blind)
#566EA3
Tritanopia (blue-blind)
#B53F68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae2fa6;
/* rgb */ color: rgb(174, 47, 166);
/* oklch */ color: oklch(54.4% 0.207 330.8);
Tailwind
colors: {
  custom: {
    50: '#ca74c1',
    500: '#ae2fa6',
    950: '#000000',
  },
}
SCSS
$custom: #ae2fa6;
$custom-light: #ca74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2fa6",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 303.78,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.20727,
    "h": 330.8
  },
  "luminance": 0.13785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE2FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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