#AA28AD#AA28AD

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

Color values

HEX#AA28AD
RGBrgb(170, 40, 173)
HSLhsl(299, 62%, 42%)
HSVhsv(299, 77%, 68%)
CMYKcmyk(1.7%, 76.9%, 0%, 32.2%)
CIE-LABlab(42.89, 66.02, -42.59)
CIE-LCHlch(42.89, 78.56, 327.17°)
OKLaboklab(53.65% 0.1828 -0.1183)
OKLCHoklch(53.65% 0.218 327.1)
XYZxyz(24.8788, 13.0825, 40.7419)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA28AD #2BAD28
analogous
#6828AD #AA28AD #AD286D
triadic
#AA28AD #ADAA28 #28ADAA
tetradic
#AA28AD #AD6828 #2BAD28 #286DAD
square
#AA28AD #AD6828 #2BAD28 #286DAD
split-complementary
#AA28AD #6DAD28 #28AD68
monochromatic
#48114A #791D7B #AA28AD #CF3FD3 #DC71DE

Accessibility & contrast

On white

5.81
#AA28AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA28AD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA28AD#FFFFFF#000000##FFFFFF
##AA28AD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#AF3F6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa28ad;
/* rgb */ color: rgb(170, 40, 173);
/* oklch */ color: oklch(53.6% 0.218 327.1);
Tailwind
colors: {
  custom: {
    50: '#c771c6',
    500: '#aa28ad',
    950: '#000000',
  },
}
SCSS
$custom: #aa28ad;
$custom-light: #c771c6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa28ad",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 298.647,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.21775,
    "h": 327.1
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

primary
#AA28AD
secondary
#6EC56C
accent
#E64246
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA28AD

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

Preview Lab → · Contrast checker → · Palette generator →

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