#AE23A2#AE23A2

#AE23A2 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.216 H 332.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AE23A2
RGBrgb(174, 35, 162)
HSLhsl(305, 67%, 41%)
HSVhsv(305, 80%, 68%)
CMYKcmyk(0%, 79.9%, 6.9%, 31.8%)
CIE-LABlab(42.48, 66.49, -36.64)
CIE-LCHlch(42.48, 75.92, 331.14°)
OKLaboklab(53.29% 0.191 -0.1009)
OKLCHoklch(53.29% 0.216 332.2)
XYZxyz(24.5783, 12.8115, 35.3538)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE23A2 #23AE2F
analogous
#7423AE #AE23A2 #AE235C
triadic
#AE23A2 #A2AE23 #23A2AE
tetradic
#AE23A2 #AE7423 #23AE2F #235CAE
square
#AE23A2 #AE7423 #23AE2F #235CAE
split-complementary
#AE23A2 #5CAE23 #23AE74
monochromatic
#480F43 #7B1973 #AE23A2 #D737C9 #E16AD7

Accessibility & contrast

On white

5.90
#AE23A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AE23A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE23A2
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE23A2#FFFFFF#000000##FFFFFF
##AE23A21.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#546B9F
Tritanopia (blue-blind)
#B63562
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ae23a2;
/* rgb */ color: rgb(174, 35, 162);
/* oklch */ color: oklch(53.3% 0.216 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca70be',
    500: '#ae23a2',
    950: '#000000',
  },
}
SCSS
$custom: #ae23a2;
$custom-light: #ca70be;
$custom-dark: #000000;
JSON
{
  "hex": "#ae23a2",
  "rgb": {
    "r": 174,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 305.18,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.21603,
    "h": 332.2
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#AE23A2
secondary
#66C76E
accent
#E94D3E
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE23A2

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

Preview Lab → · Contrast checker → · Palette generator →

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