#AE28AE#AE28AE

#AE28AE is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.3% C 0.220 H 328.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AE28AE
RGBrgb(174, 40, 174)
HSLhsl(300, 63%, 42%)
HSVhsv(300, 77%, 68%)
CMYKcmyk(0%, 77%, 0%, 31.8%)
CIE-LABlab(43.62, 67.00, -41.98)
CIE-LCHlch(43.62, 79.07, 327.93°)
OKLaboklab(54.32% 0.187 -0.1164)
OKLCHoklch(54.32% 0.22 328.1)
XYZxyz(25.8540, 13.5742, 41.2946)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AE28AE #28AE28
analogous
#6B28AE #AE28AE #AE286B
triadic
#AE28AE #AEAE28 #28AEAE
tetradic
#AE28AE #AE6B28 #28AE28 #286BAE
square
#AE28AE #AE6B28 #28AE28 #286BAE
split-complementary
#AE28AE #6BAE28 #28AE6B
monochromatic
#4A114A #7C1D7C #AE28AE #D340D3 #DF72DF

Accessibility & contrast

On white

5.65
#AE28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AE28AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AE28AE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AE28AE#FFFFFF#000000##FFFFFF
##AE28AE1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#B43F6A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ae28ae;
/* rgb */ color: rgb(174, 40, 174);
/* oklch */ color: oklch(54.3% 0.220 328.1);
Tailwind
colors: {
  custom: {
    50: '#ca72c7',
    500: '#ae28ae',
    950: '#000000',
  },
}
SCSS
$custom: #ae28ae;
$custom-light: #ca72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ae28ae",
  "rgb": {
    "r": 174,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 300,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.2203,
    "h": 328.1
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#AE28AE
secondary
#6CC66C
accent
#E64242
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AE28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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