#AE31A9#AE31A9

#AE31A9 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.207 H 329.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AE31A9
RGBrgb(174, 49, 169)
HSLhsl(302, 56%, 44%)
HSVhsv(302, 72%, 68%)
CMYKcmyk(0%, 71.8%, 2.9%, 31.8%)
CIE-LABlab(44.32, 63.38, -37.90)
CIE-LCHlch(44.32, 73.85, 329.12°)
OKLaboklab(54.73% 0.179 -0.1046)
OKLCHoklch(54.73% 0.207 329.7)
XYZxyz(25.7151, 14.0618, 38.8882)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE31A9 #31AE36
analogous
#7431AE #AE31A9 #AE316A
triadic
#AE31A9 #A9AE31 #31A9AE
tetradic
#AE31A9 #AE7431 #31AE36 #316AAE
square
#AE31A9 #AE7431 #31AE36 #316AAE
split-complementary
#AE31A9 #6AAE31 #31AE74
monochromatic
#4E164C #7E247B #AE31A9 #CD4FC8 #DB7FD7

Accessibility & contrast

On white

5.51
#AE31A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AE31A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE31A9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE31A9#FFFFFF#000000##FFFFFF
##AE31A91.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAC
Deuteranopia (green-blind)
#556FA6
Tritanopia (blue-blind)
#B4426A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ae31a9;
/* rgb */ color: rgb(174, 49, 169);
/* oklch */ color: oklch(54.7% 0.207 329.7);
Tailwind
colors: {
  custom: {
    50: '#ca75c3',
    500: '#ae31a9',
    950: '#000000',
  },
}
SCSS
$custom: #ae31a9;
$custom-light: #ca75c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ae31a9",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 302.4,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.20736,
    "h": 329.7
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#AE31A9
secondary
#77C47A
accent
#DF4E48
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AE31A9

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

Preview Lab → · Contrast checker → · Palette generator →

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