#AE40A4#AE40A4

#AE40A4 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.185 H 331.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AE40A4
RGBrgb(174, 64, 164)
HSLhsl(305, 46%, 47%)
HSVhsv(305, 63%, 68%)
CMYKcmyk(0%, 63.2%, 5.7%, 31.8%)
CIE-LABlab(46.11, 56.83, -32.12)
CIE-LCHlch(46.11, 65.28, 330.53°)
OKLaboklab(55.94% 0.1622 -0.0881)
OKLCHoklch(55.94% 0.185 331.5)
XYZxyz(25.9897, 15.3477, 36.7083)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE40A4 #40AE4A
analogous
#8140AE #AE40A4 #AE406D
triadic
#AE40A4 #A4AE40 #40A4AE
tetradic
#AE40A4 #AE8140 #40AE4A #406DAE
square
#AE40A4 #AE8140 #40AE4A #406DAE
split-complementary
#AE40A4 #6DAE40 #40AE81
monochromatic
#551F50 #81307A #AE40A4 #C665BD #D792D0

Accessibility & contrast

On white

5.16
#AE40A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AE40A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE40A4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE40A4#FFFFFF#000000##FFFFFF
##AE40A41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A7
Deuteranopia (green-blind)
#5F73A1
Tritanopia (blue-blind)
#B54A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ae40a4;
/* rgb */ color: rgb(174, 64, 164);
/* oklch */ color: oklch(55.9% 0.185 331.5);
Tailwind
colors: {
  custom: {
    50: '#c97cbf',
    500: '#ae40a4',
    950: '#000000',
  },
}
SCSS
$custom: #ae40a4;
$custom-light: #c97cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#ae40a4",
  "rgb": {
    "r": 174,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 305.455,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55938,
    "c": 0.18458,
    "h": 331.5
  },
  "luminance": 0.15346
}

Semantic roles & 50–950 ramp

primary
#AE40A4
secondary
#88C28D
accent
#D65E52
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AE40A4

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

Preview Lab → · Contrast checker → · Palette generator →

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