#AA28A6#AA28A6

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

Color values

HEX#AA28A6
RGBrgb(170, 40, 166)
HSLhsl(302, 62%, 41%)
HSVhsv(302, 76%, 67%)
CMYKcmyk(0%, 76.5%, 2.4%, 33.3%)
CIE-LABlab(42.49, 64.88, -39.06)
CIE-LCHlch(42.49, 75.73, 328.95°)
OKLaboklab(53.24% 0.183 -0.108)
OKLCHoklch(53.24% 0.212 329.4)
XYZxyz(24.2191, 12.8187, 37.2677)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA28A6 #28AA2C
analogous
#6D28AA #AA28A6 #AA2865
triadic
#AA28A6 #A6AA28 #28A6AA
tetradic
#AA28A6 #AA6D28 #28AA2C #2865AA
square
#AA28A6 #AA6D28 #28AA2C #2865AA
split-complementary
#AA28A6 #65AA28 #28AA6D
monochromatic
#471145 #781C76 #AA28A6 #D23ECD #DD6FDA

Accessibility & contrast

On white

5.89
#AA28A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA28A6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA28A6#FFFFFF#000000##FFFFFF
##AA28A61.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A9
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#B03C66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa28a6;
/* rgb */ color: rgb(170, 40, 166);
/* oklch */ color: oklch(53.2% 0.212 329.4);
Tailwind
colors: {
  custom: {
    50: '#c771c1',
    500: '#aa28a6',
    950: '#000000',
  },
}
SCSS
$custom: #aa28a6;
$custom-light: #c771c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa28a6",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 301.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.21247,
    "h": 329.4
  },
  "luminance": 0.12817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA28A6

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

Preview Lab → · Contrast checker → · Palette generator →

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