#AE31AE#AE31AE

#AE31AE is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.211 H 328.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AE31AE
RGBrgb(174, 49, 174)
HSLhsl(300, 56%, 44%)
HSVhsv(300, 72%, 68%)
CMYKcmyk(0%, 71.8%, 0%, 31.8%)
CIE-LABlab(44.59, 64.20, -40.43)
CIE-LCHlch(44.59, 75.87, 327.80°)
OKLaboklab(55.01% 0.1791 -0.112)
OKLCHoklch(55.01% 0.211 328)
XYZxyz(26.1935, 14.2532, 41.4077)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE31AE #31AE31
analogous
#6F31AE #AE31AE #AE316F
triadic
#AE31AE #AEAE31 #31AEAE
tetradic
#AE31AE #AE6F31 #31AE31 #316FAE
square
#AE31AE #AE6F31 #31AE31 #316FAE
split-complementary
#AE31AE #6FAE31 #31AE6F
monochromatic
#4E164E #7E247E #AE31AE #CD4FCD #DB7FDB

Accessibility & contrast

On white

5.45
#AE31AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AE31AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE31AE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE31AE#FFFFFF#000000##FFFFFF
##AE31AE1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5FB1
Deuteranopia (green-blind)
#526FAB
Tritanopia (blue-blind)
#B3446D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ae31ae;
/* rgb */ color: rgb(174, 49, 174);
/* oklch */ color: oklch(55.0% 0.211 328.0);
Tailwind
colors: {
  custom: {
    50: '#ca76c7',
    500: '#ae31ae',
    950: '#000000',
  },
}
SCSS
$custom: #ae31ae;
$custom-light: #ca76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae31ae",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 300,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55014,
    "c": 0.21122,
    "h": 328
  },
  "luminance": 0.14251
}

Semantic roles & 50–950 ramp

primary
#AE31AE
secondary
#77C477
accent
#DF4848
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE31AE

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

Preview Lab → · Contrast checker → · Palette generator →

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