#AE21AA#AE21AA

#AE21AA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.223 H 329.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AE21AA
RGBrgb(174, 33, 170)
HSLhsl(302, 68%, 41%)
HSVhsv(302, 81%, 68%)
CMYKcmyk(0%, 81%, 2.3%, 31.8%)
CIE-LABlab(42.75, 68.22, -40.99)
CIE-LCHlch(42.75, 79.58, 329.00°)
OKLaboklab(53.63% 0.1924 -0.1135)
OKLCHoklch(53.63% 0.223 329.5)
XYZxyz(25.2550, 12.9907, 39.1997)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE21AA #21AE25
analogous
#6B21AE #AE21AA #AE2163
triadic
#AE21AA #AAAE21 #21AAAE
tetradic
#AE21AA #AE6B21 #21AE25 #2163AE
square
#AE21AA #AE6B21 #21AE25 #2163AE
split-complementary
#AE21AA #63AE21 #21AE6B
monochromatic
#470D45 #7B1778 #AE21AA #D834D4 #E267DF

Accessibility & contrast

On white

5.84
#AE21AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AE21AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE21AA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE21AA#FFFFFF#000000##FFFFFF
##AE21AA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ae21aa;
/* rgb */ color: rgb(174, 33, 170);
/* oklch */ color: oklch(53.6% 0.223 329.5);
Tailwind
colors: {
  custom: {
    50: '#ca6fc4',
    500: '#ae21aa',
    950: '#000000',
  },
}
SCSS
$custom: #ae21aa;
$custom-light: #ca6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae21aa",
  "rgb": {
    "r": 174,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 301.702,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53626,
    "c": 0.22338,
    "h": 329.5
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#AE21AA
secondary
#63C866
accent
#EB423D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE21AA

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

Preview Lab → · Contrast checker → · Palette generator →

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