#AA28A9#AA28A9

#AA28A9 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.215 H 328.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AA28A9
RGBrgb(170, 40, 169)
HSLhsl(300, 62%, 41%)
HSVhsv(300, 76%, 67%)
CMYKcmyk(0%, 76.5%, 0.6%, 33.3%)
CIE-LABlab(42.66, 65.36, -40.58)
CIE-LCHlch(42.66, 76.94, 328.17°)
OKLaboklab(53.41% 0.1829 -0.1124)
OKLCHoklch(53.41% 0.215 328.4)
XYZxyz(24.4975, 12.9300, 38.7339)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA28A9 #28AA29
analogous
#6A28AA #AA28A9 #AA2868
triadic
#AA28A9 #A9AA28 #28A9AA
tetradic
#AA28A9 #AA6A28 #28AA29 #2868AA
square
#AA28A9 #AA6A28 #28AA29 #2868AA
split-complementary
#AA28A9 #68AA28 #28AA6A
monochromatic
#471146 #781C78 #AA28A9 #D23ED0 #DD6FDC

Accessibility & contrast

On white

5.86
#AA28A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AA28A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA28A9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA28A9#FFFFFF#000000##FFFFFF
##AA28A91.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075AAC
Deuteranopia (green-blind)
#4E6BA6
Tritanopia (blue-blind)
#B03D68
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa28a9;
/* rgb */ color: rgb(170, 40, 169);
/* oklch */ color: oklch(53.4% 0.215 328.4);
Tailwind
colors: {
  custom: {
    50: '#c771c3',
    500: '#aa28a9',
    950: '#000000',
  },
}
SCSS
$custom: #aa28a9;
$custom-light: #c771c3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa28a9",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 300.462,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.21471,
    "h": 328.4
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#AA28A9
secondary
#6AC46A
accent
#E54443
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AA28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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