#AE2F9A#AE2F9A

#AE2F9A is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.8% C 0.198 H 335.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AE2F9A
RGBrgb(174, 47, 154)
HSLhsl(309, 57%, 43%)
HSVhsv(309, 73%, 68%)
CMYKcmyk(0%, 73%, 11.5%, 31.8%)
CIE-LABlab(43.31, 61.71, -30.53)
CIE-LCHlch(43.31, 68.85, 333.68°)
OKLaboklab(53.75% 0.1801 -0.0834)
OKLCHoklch(53.75% 0.198 335.2)
XYZxyz(24.3051, 13.3669, 31.8656)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE2F9A #2FAE43
analogous
#822FAE #AE2F9A #AE2F5A
triadic
#AE2F9A #9AAE2F #2F9AAE
tetradic
#AE2F9A #AE822F #2FAE43 #2F5AAE
square
#AE2F9A #AE822F #2FAE43 #2F5AAE
split-complementary
#AE2F9A #5AAE2F #2FAE82
monochromatic
#4E1545 #7E226F #AE2F9A #CF4CBA #DC7CCC

Accessibility & contrast

On white

5.72
#AE2F9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AE2F9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE2F9A
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE2F9A#FFFFFF#000000##FFFFFF
##AE2F9A1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9D
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#B73961
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #ae2f9a;
/* rgb */ color: rgb(174, 47, 154);
/* oklch */ color: oklch(53.8% 0.198 335.2);
Tailwind
colors: {
  custom: {
    50: '#ca74b8',
    500: '#ae2f9a',
    950: '#000000',
  },
}
SCSS
$custom: #ae2f9a;
$custom-light: #ca74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ae2f9a",
  "rgb": {
    "r": 174,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 309.449,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.19848,
    "h": 335.2
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#AE2F9A
secondary
#75C481
accent
#E15F47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AE2F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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