#AE31AB#AE31AB

#AE31AB is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.209 H 329.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AE31AB
RGBrgb(174, 49, 171)
HSLhsl(301, 56%, 44%)
HSVhsv(301, 72%, 68%)
CMYKcmyk(0%, 71.8%, 1.7%, 31.8%)
CIE-LABlab(44.43, 63.70, -38.91)
CIE-LCHlch(44.43, 74.65, 328.58°)
OKLaboklab(54.84% 0.1791 -0.1076)
OKLCHoklch(54.84% 0.209 329)
XYZxyz(25.9043, 14.1375, 39.8846)
Luminance0.1414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE31AB #31AE34
analogous
#7231AE #AE31AB #AE316C
triadic
#AE31AB #ABAE31 #31ABAE
tetradic
#AE31AB #AE7231 #31AE34 #316CAE
square
#AE31AB #AE7231 #31AE34 #316CAE
split-complementary
#AE31AB #6CAE31 #31AE72
monochromatic
#4E164D #7E247C #AE31AB #CD4FCA #DB7FD9

Accessibility & contrast

On white

5.49
#AE31AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AE31AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE31AB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE31AB#FFFFFF#000000##FFFFFF
##AE31AB1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5EAE
Deuteranopia (green-blind)
#546FA8
Tritanopia (blue-blind)
#B4436B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ae31ab;
/* rgb */ color: rgb(174, 49, 171);
/* oklch */ color: oklch(54.8% 0.209 329.0);
Tailwind
colors: {
  custom: {
    50: '#ca75c4',
    500: '#ae31ab',
    950: '#000000',
  },
}
SCSS
$custom: #ae31ab;
$custom-light: #ca75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae31ab",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 301.44,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.20889,
    "h": 329
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#AE31AB
secondary
#77C479
accent
#DF4C48
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE31AB

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

Preview Lab → · Contrast checker → · Palette generator →

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