#AE21BD#AE21BD

#AE21BD is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.8% C 0.237 H 323.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AE21BD
RGBrgb(174, 33, 189)
HSLhsl(294, 70%, 44%)
HSVhsv(294, 83%, 74%)
CMYKcmyk(7.9%, 82.5%, 0%, 25.9%)
CIE-LABlab(43.89, 71.28, -50.38)
CIE-LCHlch(43.89, 87.29, 324.75°)
OKLaboklab(54.8% 0.191 -0.1409)
OKLCHoklch(54.8% 0.237 323.6)
XYZxyz(27.1839, 13.7622, 49.3588)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE21BD #30BD21
analogous
#6021BD #AE21BD #BD217E
triadic
#AE21BD #BDAE21 #21BDAE
tetradic
#AE21BD #BD6021 #30BD21 #217EBD
square
#AE21BD #BD6021 #30BD21 #217EBD
split-complementary
#AE21BD #7EBD21 #21BD60
monochromatic
#4E0F55 #7E1889 #AE21BD #CE3EDD #DB72E6

Accessibility & contrast

On white

5.60
#AE21BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AE21BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE21BD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE21BD#FFFFFF#000000##FFFFFF
##AE21BD1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#416DBA
Tritanopia (blue-blind)
#B14372
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae21bd;
/* rgb */ color: rgb(174, 33, 189);
/* oklch */ color: oklch(54.8% 0.237 323.6);
Tailwind
colors: {
  custom: {
    50: '#cb70d2',
    500: '#ae21bd',
    950: '#000000',
  },
}
SCSS
$custom: #ae21bd;
$custom-light: #cb70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ae21bd",
  "rgb": {
    "r": 174,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 294.231,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.23733,
    "h": 323.6
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

primary
#AE21BD
secondary
#76CD6D
accent
#ED3B4C
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #AE21BD

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

Preview Lab → · Contrast checker → · Palette generator →

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