#AA28A1#AA28A1

#AA28A1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.209 H 331.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AA28A1
RGBrgb(170, 40, 161)
HSLhsl(304, 62%, 41%)
HSVhsv(304, 76%, 67%)
CMYKcmyk(0%, 76.5%, 5.3%, 33.3%)
CIE-LABlab(42.21, 64.09, -36.50)
CIE-LCHlch(42.21, 73.76, 330.34°)
OKLaboklab(52.95% 0.1829 -0.1006)
OKLCHoklch(52.95% 0.209 331.2)
XYZxyz(23.7694, 12.6388, 34.8989)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA28A1 #28AA31
analogous
#7228AA #AA28A1 #AA2860
triadic
#AA28A1 #A1AA28 #28A1AA
tetradic
#AA28A1 #AA7228 #28AA31 #2860AA
square
#AA28A1 #AA7228 #28AA31 #2860AA
split-complementary
#AA28A1 #60AA28 #28AA72
monochromatic
#471143 #781C72 #AA28A1 #D23EC7 #DD6FD6

Accessibility & contrast

On white

5.95
#AA28A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AA28A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA28A1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA28A1#FFFFFF#000000##FFFFFF
##AA28A11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A4
Deuteranopia (green-blind)
#526A9E
Tritanopia (blue-blind)
#B13963
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa28a1;
/* rgb */ color: rgb(170, 40, 161);
/* oklch */ color: oklch(53.0% 0.209 331.2);
Tailwind
colors: {
  custom: {
    50: '#c771bd',
    500: '#aa28a1',
    950: '#000000',
  },
}
SCSS
$custom: #aa28a1;
$custom-light: #c771bd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa28a1",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 304.154,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52952,
    "c": 0.20877,
    "h": 331.2
  },
  "luminance": 0.12637
}

Semantic roles & 50–950 ramp

primary
#AA28A1
secondary
#6AC470
accent
#E54E43
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA28A1

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

Preview Lab → · Contrast checker → · Palette generator →

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