#AE21BC#AE21BC

#AE21BC is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.7% C 0.237 H 323.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AE21BC
RGBrgb(174, 33, 188)
HSLhsl(295, 70%, 43%)
HSVhsv(295, 82%, 74%)
CMYKcmyk(7.4%, 82.4%, 0%, 26.3%)
CIE-LABlab(43.83, 71.11, -49.89)
CIE-LCHlch(43.83, 86.87, 324.95°)
OKLaboklab(54.73% 0.1911 -0.1395)
OKLCHoklch(54.73% 0.237 323.9)
XYZxyz(27.0757, 13.7190, 48.7891)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE21BC #2FBC21
analogous
#6121BC #AE21BC #BC217C
triadic
#AE21BC #BCAE21 #21BCAE
tetradic
#AE21BC #BC6121 #2FBC21 #217CBC
square
#AE21BC #BC6121 #2FBC21 #217CBC
split-complementary
#AE21BC #7CBC21 #21BC61
monochromatic
#4E0F54 #7E1888 #AE21BC #CF3DDD #DC71E6

Accessibility & contrast

On white

5.61
#AE21BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AE21BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE21BC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE21BC#FFFFFF#000000##FFFFFF
##AE21BC1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#B14271
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae21bc;
/* rgb */ color: rgb(174, 33, 188);
/* oklch */ color: oklch(54.7% 0.237 323.9);
Tailwind
colors: {
  custom: {
    50: '#cb70d1',
    500: '#ae21bc',
    950: '#000000',
  },
}
SCSS
$custom: #ae21bc;
$custom-light: #cb70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ae21bc",
  "rgb": {
    "r": 174,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 294.581,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54734,
    "c": 0.23658,
    "h": 323.9
  },
  "luminance": 0.13717
}

Semantic roles & 50–950 ramp

primary
#AE21BC
secondary
#75CD6C
accent
#ED3B4B
background
#FDF7FC
surface
#FAEDF9
border
#D3C8D2
text
#140914
muted
#837B82

Preview Lab

Preview with #AE21BC

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

Preview Lab → · Contrast checker → · Palette generator →

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