#AE31AD#AE31AD

#AE31AD is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.210 H 328.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AE31AD
RGBrgb(174, 49, 173)
HSLhsl(300, 56%, 44%)
HSVhsv(300, 72%, 68%)
CMYKcmyk(0%, 71.8%, 0.6%, 31.8%)
CIE-LABlab(44.54, 64.03, -39.92)
CIE-LCHlch(44.54, 75.46, 328.06°)
OKLaboklab(54.96% 0.1791 -0.1105)
OKLCHoklch(54.96% 0.21 328.3)
XYZxyz(26.0964, 14.2143, 40.8962)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE31AD #31AE32
analogous
#7031AE #AE31AD #AE316E
triadic
#AE31AD #ADAE31 #31ADAE
tetradic
#AE31AD #AE7031 #31AE32 #316EAE
square
#AE31AD #AE7031 #31AE32 #316EAE
split-complementary
#AE31AD #6EAE31 #31AE70
monochromatic
#4E164E #7E247E #AE31AD #CD4FCC #DB7FDA

Accessibility & contrast

On white

5.47
#AE31AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AE31AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE31AD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE31AD#FFFFFF#000000##FFFFFF
##AE31AD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB0
Deuteranopia (green-blind)
#536FAA
Tritanopia (blue-blind)
#B4446C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ae31ad;
/* rgb */ color: rgb(174, 49, 173);
/* oklch */ color: oklch(55.0% 0.210 328.3);
Tailwind
colors: {
  custom: {
    50: '#ca76c6',
    500: '#ae31ad',
    950: '#000000',
  },
}
SCSS
$custom: #ae31ad;
$custom-light: #ca76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ae31ad",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 300.48,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54957,
    "c": 0.21043,
    "h": 328.3
  },
  "luminance": 0.14212
}

Semantic roles & 50–950 ramp

primary
#AE31AD
secondary
#77C478
accent
#DF4A48
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE31AD

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

Preview Lab → · Contrast checker → · Palette generator →

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