#AE2FA7#AE2FA7

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

Color values

HEX#AE2FA7
RGBrgb(174, 47, 167)
HSLhsl(303, 57%, 43%)
HSVhsv(303, 73%, 68%)
CMYKcmyk(0%, 73%, 4%, 31.8%)
CIE-LABlab(43.98, 63.73, -37.25)
CIE-LCHlch(43.98, 73.82, 329.69°)
OKLaboklab(54.45% 0.1809 -0.1027)
OKLCHoklch(54.45% 0.208 330.4)
XYZxyz(25.4470, 13.8237, 37.8797)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2FA7 #2FAE36
analogous
#752FAE #AE2FA7 #AE2F67
triadic
#AE2FA7 #A7AE2F #2FA7AE
tetradic
#AE2FA7 #AE752F #2FAE36 #2F67AE
square
#AE2FA7 #AE752F #2FAE36 #2F67AE
split-complementary
#AE2FA7 #67AE2F #2FAE75
monochromatic
#4E154B #7E2279 #AE2FA7 #CF4CC7 #DC7CD6

Accessibility & contrast

On white

5.58
#AE2FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AE2FA7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2FA7#FFFFFF#000000##FFFFFF
##AE2FA71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215DAA
Deuteranopia (green-blind)
#556EA4
Tritanopia (blue-blind)
#B53F68
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae2fa7;
/* rgb */ color: rgb(174, 47, 167);
/* oklch */ color: oklch(54.4% 0.208 330.4);
Tailwind
colors: {
  custom: {
    50: '#ca74c1',
    500: '#ae2fa7',
    950: '#000000',
  },
}
SCSS
$custom: #ae2fa7;
$custom-light: #ca74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2fa7",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 303.307,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5445,
    "c": 0.20803,
    "h": 330.4
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#AE2FA7
secondary
#75C479
accent
#E15047
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE2FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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