#AE23A5#AE23A5

#AE23A5 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.218 H 331.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AE23A5
RGBrgb(174, 35, 165)
HSLhsl(304, 67%, 41%)
HSVhsv(304, 80%, 68%)
CMYKcmyk(0%, 79.9%, 5.2%, 31.8%)
CIE-LABlab(42.64, 66.94, -38.18)
CIE-LCHlch(42.64, 77.06, 330.31°)
OKLaboklab(53.46% 0.191 -0.1053)
OKLCHoklch(53.46% 0.218 331.1)
XYZxyz(24.8481, 12.9194, 36.7750)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE23A5 #23AE2C
analogous
#7123AE #AE23A5 #AE235F
triadic
#AE23A5 #A5AE23 #23A5AE
tetradic
#AE23A5 #AE7123 #23AE2C #235FAE
square
#AE23A5 #AE7123 #23AE2C #235FAE
split-complementary
#AE23A5 #5FAE23 #23AE71
monochromatic
#480F44 #7B1975 #AE23A5 #D737CD #E16AD9

Accessibility & contrast

On white

5.86
#AE23A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AE23A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE23A5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE23A5#FFFFFF#000000##FFFFFF
##AE23A51.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1059A8
Deuteranopia (green-blind)
#526BA2
Tritanopia (blue-blind)
#B53764
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae23a5;
/* rgb */ color: rgb(174, 35, 165);
/* oklch */ color: oklch(53.5% 0.218 331.1);
Tailwind
colors: {
  custom: {
    50: '#ca70c0',
    500: '#ae23a5',
    950: '#000000',
  },
}
SCSS
$custom: #ae23a5;
$custom-light: #ca70c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ae23a5",
  "rgb": {
    "r": 174,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 303.885,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.21816,
    "h": 331.1
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

primary
#AE23A5
secondary
#66C76C
accent
#E9493E
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE23A5

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

Preview Lab → · Contrast checker → · Palette generator →

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