#AE23AB#AE23AB

#AE23AB is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.222 H 329.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AE23AB
RGBrgb(174, 35, 171)
HSLhsl(301, 67%, 41%)
HSVhsv(301, 80%, 68%)
CMYKcmyk(0%, 79.9%, 1.7%, 31.8%)
CIE-LABlab(42.98, 67.87, -41.22)
CIE-LCHlch(42.98, 79.41, 328.73°)
OKLaboklab(53.81% 0.1909 -0.1142)
OKLCHoklch(53.81% 0.222 329.1)
XYZxyz(25.4071, 13.1430, 39.7189)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE23AB #23AE26
analogous
#6B23AE #AE23AB #AE2365
triadic
#AE23AB #ABAE23 #23ABAE
tetradic
#AE23AB #AE6B23 #23AE26 #2365AE
square
#AE23AB #AE6B23 #23AE26 #2365AE
split-complementary
#AE23AB #65AE23 #23AE6B
monochromatic
#480F47 #7B1979 #AE23AB #D737D3 #E16ADF

Accessibility & contrast

On white

5.79
#AE23AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AE23AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE23AB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE23AB#FFFFFF#000000##FFFFFF
##AE23AB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#4E6CA8
Tritanopia (blue-blind)
#B43A68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae23ab;
/* rgb */ color: rgb(174, 35, 171);
/* oklch */ color: oklch(53.8% 0.222 329.1);
Tailwind
colors: {
  custom: {
    50: '#ca70c4',
    500: '#ae23ab',
    950: '#000000',
  },
}
SCSS
$custom: #ae23ab;
$custom-light: #ca70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae23ab",
  "rgb": {
    "r": 174,
    "g": 35,
    "b": 171
  },
  "hsl": {
    "h": 301.295,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.22248,
    "h": 329.1
  },
  "luminance": 0.13141
}

Semantic roles & 50–950 ramp

primary
#AE23AB
secondary
#66C768
accent
#E9423E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE23AB

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

Preview Lab → · Contrast checker → · Palette generator →

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