#AE28AB#AE28AB

#AE28AB is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.218 H 329.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AE28AB
RGBrgb(174, 40, 171)
HSLhsl(301, 63%, 42%)
HSVhsv(301, 77%, 68%)
CMYKcmyk(0%, 77%, 1.7%, 31.8%)
CIE-LABlab(43.45, 66.52, -40.47)
CIE-LCHlch(43.45, 77.87, 328.68°)
OKLaboklab(54.14% 0.1871 -0.112)
OKLCHoklch(54.14% 0.218 329.1)
XYZxyz(25.5648, 13.4585, 39.7715)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE28AB #28AE2B
analogous
#6E28AE #AE28AB #AE2868
triadic
#AE28AB #ABAE28 #28ABAE
tetradic
#AE28AB #AE6E28 #28AE2B #2868AE
square
#AE28AB #AE6E28 #28AE2B #2868AE
split-complementary
#AE28AB #68AE28 #28AE6E
monochromatic
#4A1149 #7C1D7A #AE28AB #D340D0 #DF72DC

Accessibility & contrast

On white

5.69
#AE28AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AE28AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE28AB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE28AB#FFFFFF#000000##FFFFFF
##AE28AB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5BAE
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#B43D69
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae28ab;
/* rgb */ color: rgb(174, 40, 171);
/* oklch */ color: oklch(54.1% 0.218 329.1);
Tailwind
colors: {
  custom: {
    50: '#ca72c4',
    500: '#ae28ab',
    950: '#000000',
  },
}
SCSS
$custom: #ae28ab;
$custom-light: #ca72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ae28ab",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 301.343,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5414,
    "c": 0.21808,
    "h": 329.1
  },
  "luminance": 0.13457
}

Semantic roles & 50–950 ramp

primary
#AE28AB
secondary
#6CC66E
accent
#E64642
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE28AB

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

Preview Lab → · Contrast checker → · Palette generator →

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