#AE2FAB#AE2FAB

#AE2FAB is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.211 H 329.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AE2FAB
RGBrgb(174, 47, 171)
HSLhsl(301, 57%, 43%)
HSVhsv(301, 73%, 68%)
CMYKcmyk(0%, 73%, 1.7%, 31.8%)
CIE-LABlab(44.20, 64.37, -39.28)
CIE-LCHlch(44.20, 75.41, 328.61°)
OKLaboklab(54.68% 0.181 -0.1086)
OKLCHoklch(54.68% 0.211 329)
XYZxyz(25.8225, 13.9739, 39.8574)
Luminance0.1397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2FAB #2FAE32
analogous
#712FAE #AE2FAB #AE2F6B
triadic
#AE2FAB #ABAE2F #2FABAE
tetradic
#AE2FAB #AE712F #2FAE32 #2F6BAE
square
#AE2FAB #AE712F #2FAE32 #2F6BAE
split-complementary
#AE2FAB #6BAE2F #2FAE71
monochromatic
#4E154C #7E227C #AE2FAB #CF4CCB #DC7CD9

Accessibility & contrast

On white

5.53
#AE2FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AE2FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2FAB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2FAB#FFFFFF#000000##FFFFFF
##AE2FAB1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAE
Deuteranopia (green-blind)
#536EA8
Tritanopia (blue-blind)
#B4416A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae2fab;
/* rgb */ color: rgb(174, 47, 171);
/* oklch */ color: oklch(54.7% 0.211 329.0);
Tailwind
colors: {
  custom: {
    50: '#ca75c4',
    500: '#ae2fab',
    950: '#000000',
  },
}
SCSS
$custom: #ae2fab;
$custom-light: #ca75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2fab",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 301.417,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.21107,
    "h": 329
  },
  "luminance": 0.13972
}

Semantic roles & 50–950 ramp

primary
#AE2FAB
secondary
#75C477
accent
#E14B47
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE2FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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