#AE21AB#AE21AB

#AE21AB is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.224 H 329.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AE21AB
RGBrgb(174, 33, 171)
HSLhsl(301, 68%, 41%)
HSVhsv(301, 81%, 68%)
CMYKcmyk(0%, 81%, 1.7%, 31.8%)
CIE-LABlab(42.81, 68.37, -41.49)
CIE-LCHlch(42.81, 79.97, 328.75°)
OKLaboklab(53.69% 0.1924 -0.115)
OKLCHoklch(53.69% 0.224 329.1)
XYZxyz(25.3499, 13.0287, 39.6998)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE21AB #21AE24
analogous
#6B21AE #AE21AB #AE2164
triadic
#AE21AB #ABAE21 #21ABAE
tetradic
#AE21AB #AE6B21 #21AE24 #2164AE
square
#AE21AB #AE6B21 #21AE24 #2164AE
split-complementary
#AE21AB #64AE21 #21AE6B
monochromatic
#470D46 #7B1778 #AE21AB #D834D5 #E267E0

Accessibility & contrast

On white

5.82
#AE21AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AE21AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE21AB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE21AB#FFFFFF#000000##FFFFFF
##AE21AB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#4E6BA8
Tritanopia (blue-blind)
#B43967
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae21ab;
/* rgb */ color: rgb(174, 33, 171);
/* oklch */ color: oklch(53.7% 0.224 329.1);
Tailwind
colors: {
  custom: {
    50: '#ca6fc4',
    500: '#ae21ab',
    950: '#000000',
  },
}
SCSS
$custom: #ae21ab;
$custom-light: #ca6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae21ab",
  "rgb": {
    "r": 174,
    "g": 33,
    "b": 171
  },
  "hsl": {
    "h": 301.277,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53685,
    "c": 0.22409,
    "h": 329.1
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#AE21AB
secondary
#63C865
accent
#EB413D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE21AB

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

Preview Lab → · Contrast checker → · Palette generator →

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