#AA28AE#AA28AE

#AA28AE is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.218 H 326.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AA28AE
RGBrgb(170, 40, 174)
HSLhsl(298, 63%, 42%)
HSVhsv(298, 77%, 68%)
CMYKcmyk(2.3%, 77%, 0%, 31.8%)
CIE-LABlab(42.95, 66.18, -43.09)
CIE-LCHlch(42.95, 78.97, 326.93°)
OKLaboklab(53.71% 0.1828 -0.1198)
OKLCHoklch(53.71% 0.219 326.8)
XYZxyz(24.9759, 13.1214, 41.2534)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA28AE #2CAE28
analogous
#6728AE #AA28AE #AE286F
triadic
#AA28AE #AEAA28 #28AEAA
tetradic
#AA28AE #AE6728 #2CAE28 #286FAE
square
#AA28AE #AE6728 #2CAE28 #286FAE
split-complementary
#AA28AE #6FAE28 #28AE67
monochromatic
#49114A #791D7C #AA28AE #CF40D3 #DB72DF

Accessibility & contrast

On white

5.79
#AA28AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA28AE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA28AE#FFFFFF#000000##FFFFFF
##AA28AE1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#4B6BAB
Tritanopia (blue-blind)
#AF406A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa28ae;
/* rgb */ color: rgb(170, 40, 174);
/* oklch */ color: oklch(53.7% 0.218 326.8);
Tailwind
colors: {
  custom: {
    50: '#c771c7',
    500: '#aa28ae',
    950: '#000000',
  },
}
SCSS
$custom: #aa28ae;
$custom-light: #c771c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa28ae",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 298.209,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.2185,
    "h": 326.8
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#AA28AE
secondary
#6FC66C
accent
#E64247
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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