#AA28A5#AA28A5

#AA28A5 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.212 H 329.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AA28A5
RGBrgb(170, 40, 165)
HSLhsl(302, 62%, 41%)
HSVhsv(302, 76%, 67%)
CMYKcmyk(0%, 76.5%, 2.9%, 33.3%)
CIE-LABlab(42.43, 64.72, -38.55)
CIE-LCHlch(42.43, 75.33, 329.22°)
OKLaboklab(53.18% 0.183 -0.1066)
OKLCHoklch(53.18% 0.212 329.8)
XYZxyz(24.1278, 12.7821, 36.7864)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA28A5 #28AA2D
analogous
#6E28AA #AA28A5 #AA2864
triadic
#AA28A5 #A5AA28 #28A5AA
tetradic
#AA28A5 #AA6E28 #28AA2D #2864AA
square
#AA28A5 #AA6E28 #28AA2D #2864AA
split-complementary
#AA28A5 #64AA28 #28AA6E
monochromatic
#471145 #781C75 #AA28A5 #D23ECC #DD6FD9

Accessibility & contrast

On white

5.91
#AA28A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AA28A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA28A5
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA28A5#FFFFFF#000000##FFFFFF
##AA28A51.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A8
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#B03B65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa28a5;
/* rgb */ color: rgb(170, 40, 165);
/* oklch */ color: oklch(53.2% 0.212 329.8);
Tailwind
colors: {
  custom: {
    50: '#c771c0',
    500: '#aa28a5',
    950: '#000000',
  },
}
SCSS
$custom: #aa28a5;
$custom-light: #c771c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa28a5",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 302.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.21172,
    "h": 329.8
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#AA28A5
secondary
#6AC46D
accent
#E54943
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA28A5

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

Preview Lab → · Contrast checker → · Palette generator →

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