#AE28B1#AE28B1

#AE28B1 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.5% C 0.223 H 327.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AE28B1
RGBrgb(174, 40, 177)
HSLhsl(299, 63%, 43%)
HSVhsv(299, 77%, 69%)
CMYKcmyk(1.7%, 77.4%, 0%, 30.6%)
CIE-LABlab(43.79, 67.49, -43.48)
CIE-LCHlch(43.79, 80.28, 327.21°)
OKLaboklab(54.49% 0.1869 -0.1208)
OKLCHoklch(54.49% 0.223 327.1)
XYZxyz(26.1498, 13.6925, 42.8521)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE28B1 #2BB128
analogous
#6928B1 #AE28B1 #B12870
triadic
#AE28B1 #B1AE28 #28B1AE
tetradic
#AE28B1 #B16928 #2BB128 #2870B1
square
#AE28B1 #B16928 #2BB128 #2870B1
split-complementary
#AE28B1 #70B128 #28B169
monochromatic
#4C114D #7D1D7F #AE28B1 #D142D4 #DD74E0

Accessibility & contrast

On white

5.62
#AE28B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AE28B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE28B1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE28B1#FFFFFF#000000##FFFFFF
##AE28B11.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#4D6DAE
Tritanopia (blue-blind)
#B3406C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae28b1;
/* rgb */ color: rgb(174, 40, 177);
/* oklch */ color: oklch(54.5% 0.223 327.1);
Tailwind
colors: {
  custom: {
    50: '#ca72c9',
    500: '#ae28b1',
    950: '#000000',
  },
}
SCSS
$custom: #ae28b1;
$custom-light: #ca72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ae28b1",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 298.686,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.22256,
    "h": 327.1
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#AE28B1
secondary
#70C76E
accent
#E64245
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE28B1

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

Preview Lab → · Contrast checker → · Palette generator →

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