#AE32B1#AE32B1

#AE32B1 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.212 H 327.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AE32B1
RGBrgb(174, 50, 177)
HSLhsl(299, 56%, 45%)
HSVhsv(299, 72%, 69%)
CMYKcmyk(1.7%, 71.8%, 0%, 30.6%)
CIE-LABlab(44.88, 64.36, -41.75)
CIE-LCHlch(44.88, 76.71, 327.03°)
OKLaboklab(55.27% 0.1781 -0.1158)
OKLCHoklch(55.27% 0.212 327)
XYZxyz(26.5315, 14.4560, 42.9793)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE32B1 #35B132
analogous
#6F32B1 #AE32B1 #B13274
triadic
#AE32B1 #B1AE32 #32B1AE
tetradic
#AE32B1 #B16F32 #35B132 #3274B1
square
#AE32B1 #B16F32 #35B132 #3274B1
split-complementary
#AE32B1 #74B132 #32B16F
monochromatic
#501752 #7F2581 #AE32B1 #CB52CE #DA82DC

Accessibility & contrast

On white

5.40
#AE32B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AE32B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE32B1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE32B1#FFFFFF#000000##FFFFFF
##AE32B11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1660B5
Deuteranopia (green-blind)
#5170AE
Tritanopia (blue-blind)
#B3466F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ae32b1;
/* rgb */ color: rgb(174, 50, 177);
/* oklch */ color: oklch(55.3% 0.212 327.0);
Tailwind
colors: {
  custom: {
    50: '#ca76c9',
    500: '#ae32b1',
    950: '#000000',
  },
}
SCSS
$custom: #ae32b1;
$custom-light: #ca76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae32b1",
  "rgb": {
    "r": 174,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 298.583,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.21247,
    "h": 327
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#AE32B1
secondary
#7CC57A
accent
#DF494C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE32B1

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

Preview Lab → · Contrast checker → · Palette generator →

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