#AE28B3#AE28B3

#AE28B3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.224 H 326.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AE28B3
RGBrgb(174, 40, 179)
HSLhsl(298, 63%, 43%)
HSVhsv(298, 78%, 70%)
CMYKcmyk(2.8%, 77.7%, 0%, 29.8%)
CIE-LABlab(43.91, 67.81, -44.48)
CIE-LCHlch(43.91, 81.10, 326.74°)
OKLaboklab(54.61% 0.1868 -0.1237)
OKLCHoklch(54.61% 0.224 326.5)
XYZxyz(26.3506, 13.7728, 43.9096)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE28B3 #2DB328
analogous
#6928B3 #AE28B3 #B32872
triadic
#AE28B3 #B3AE28 #28B3AE
tetradic
#AE28B3 #B36928 #2DB328 #2872B3
square
#AE28B3 #B36928 #2DB328 #2872B3
split-complementary
#AE28B3 #72B328 #28B369
monochromatic
#4D124F #7D1D81 #AE28B3 #D043D5 #DC75E0

Accessibility & contrast

On white

5.59
#AE28B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AE28B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE28B3
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE28B3#FFFFFF#000000##FFFFFF
##AE28B31.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#B3416D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ae28b3;
/* rgb */ color: rgb(174, 40, 179);
/* oklch */ color: oklch(54.6% 0.224 326.5);
Tailwind
colors: {
  custom: {
    50: '#ca72ca',
    500: '#ae28b3',
    950: '#000000',
  },
}
SCSS
$custom: #ae28b3;
$custom-light: #ca72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ae28b3",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 297.842,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54614,
    "c": 0.22406,
    "h": 326.5
  },
  "luminance": 0.13771
}

Semantic roles & 50–950 ramp

primary
#AE28B3
secondary
#72C86F
accent
#E64147
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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