#AE28A1#AE28A1

#AE28A1 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.211 H 332.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AE28A1
RGBrgb(174, 40, 161)
HSLhsl(306, 63%, 42%)
HSVhsv(306, 77%, 68%)
CMYKcmyk(0%, 77%, 7.5%, 31.8%)
CIE-LABlab(42.90, 64.96, -35.37)
CIE-LCHlch(42.90, 73.97, 331.43°)
OKLaboklab(53.57% 0.187 -0.0973)
OKLCHoklch(53.57% 0.211 332.5)
XYZxyz(24.6475, 13.0916, 34.9401)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE28A1 #28AE35
analogous
#7828AE #AE28A1 #AE285E
triadic
#AE28A1 #A1AE28 #28A1AE
tetradic
#AE28A1 #AE7828 #28AE35 #285EAE
square
#AE28A1 #AE7828 #28AE35 #285EAE
split-complementary
#AE28A1 #5EAE28 #28AE78
monochromatic
#4A1145 #7C1D73 #AE28A1 #D340C5 #DF72D4

Accessibility & contrast

On white

5.80
#AE28A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AE28A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE28A1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE28A1#FFFFFF#000000##FFFFFF
##AE28A11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A4
Deuteranopia (green-blind)
#566C9E
Tritanopia (blue-blind)
#B63863
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ae28a1;
/* rgb */ color: rgb(174, 40, 161);
/* oklch */ color: oklch(53.6% 0.211 332.5);
Tailwind
colors: {
  custom: {
    50: '#ca71bd',
    500: '#ae28a1',
    950: '#000000',
  },
}
SCSS
$custom: #ae28a1;
$custom-light: #ca71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ae28a1",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 305.821,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53574,
    "c": 0.21079,
    "h": 332.5
  },
  "luminance": 0.13089
}

Semantic roles & 50–950 ramp

primary
#AE28A1
secondary
#6CC675
accent
#E65242
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AE28A1

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

Preview Lab → · Contrast checker → · Palette generator →

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