#AE28B4#AE28B4

#AE28B4 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.7% C 0.225 H 326.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AE28B4
RGBrgb(174, 40, 180)
HSLhsl(297, 64%, 43%)
HSVhsv(297, 78%, 71%)
CMYKcmyk(3.3%, 77.8%, 0%, 29.4%)
CIE-LABlab(43.96, 67.98, -44.97)
CIE-LCHlch(43.96, 81.51, 326.51°)
OKLaboklab(54.68% 0.1868 -0.1251)
OKLCHoklch(54.68% 0.225 326.2)
XYZxyz(26.4521, 13.8134, 44.4442)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE28B4 #2EB428
analogous
#6828B4 #AE28B4 #B42874
triadic
#AE28B4 #B4AE28 #28B4AE
tetradic
#AE28B4 #B46828 #2EB428 #2874B4
square
#AE28B4 #B46828 #2EB428 #2874B4
split-complementary
#AE28B4 #74B428 #28B468
monochromatic
#4D1250 #7E1D82 #AE28B4 #CF44D5 #DC76E1

Accessibility & contrast

On white

5.58
#AE28B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AE28B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE28B4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE28B4#FFFFFF#000000##FFFFFF
##AE28B41.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#4B6EB1
Tritanopia (blue-blind)
#B3426E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae28b4;
/* rgb */ color: rgb(174, 40, 180);
/* oklch */ color: oklch(54.7% 0.225 326.2);
Tailwind
colors: {
  custom: {
    50: '#ca72cb',
    500: '#ae28b4',
    950: '#000000',
  },
}
SCSS
$custom: #ae28b4;
$custom-light: #ca72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ae28b4",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 180
  },
  "hsl": {
    "h": 297.429,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.22482,
    "h": 326.2
  },
  "luminance": 0.13812
}

Semantic roles & 50–950 ramp

primary
#AE28B4
secondary
#74C870
accent
#E74148
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE28B4

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

Preview Lab → · Contrast checker → · Palette generator →

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