#AE31AA#AE31AA

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

Color values

HEX#AE31AA
RGBrgb(174, 49, 170)
HSLhsl(302, 56%, 44%)
HSVhsv(302, 72%, 68%)
CMYKcmyk(0%, 71.8%, 2.3%, 31.8%)
CIE-LABlab(44.38, 63.54, -38.41)
CIE-LCHlch(44.38, 74.25, 328.85°)
OKLaboklab(54.79% 0.179 -0.1061)
OKLCHoklch(54.79% 0.208 329.3)
XYZxyz(25.8094, 14.0995, 39.3845)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE31AA #31AE35
analogous
#7331AE #AE31AA #AE316B
triadic
#AE31AA #AAAE31 #31AAAE
tetradic
#AE31AA #AE7331 #31AE35 #316BAE
square
#AE31AA #AE7331 #31AE35 #316BAE
split-complementary
#AE31AA #6BAE31 #31AE73
monochromatic
#4E164D #7E247B #AE31AA #CD4FC9 #DB7FD8

Accessibility & contrast

On white

5.50
#AE31AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AE31AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE31AA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE31AA#FFFFFF#000000##FFFFFF
##AE31AA1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#556FA7
Tritanopia (blue-blind)
#B4426A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ae31aa;
/* rgb */ color: rgb(174, 49, 170);
/* oklch */ color: oklch(54.8% 0.208 329.3);
Tailwind
colors: {
  custom: {
    50: '#ca75c4',
    500: '#ae31aa',
    950: '#000000',
  },
}
SCSS
$custom: #ae31aa;
$custom-light: #ca75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae31aa",
  "rgb": {
    "r": 174,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 301.92,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54787,
    "c": 0.20812,
    "h": 329.3
  },
  "luminance": 0.14098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AE31AA

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

Preview Lab → · Contrast checker → · Palette generator →

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