#AA28A4#AA28A4

#AA28A4 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.211 H 330.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AA28A4
RGBrgb(170, 40, 164)
HSLhsl(303, 62%, 41%)
HSVhsv(303, 76%, 67%)
CMYKcmyk(0%, 76.5%, 3.5%, 33.3%)
CIE-LABlab(42.38, 64.56, -38.04)
CIE-LCHlch(42.38, 74.94, 329.49°)
OKLaboklab(53.12% 0.183 -0.1051)
OKLCHoklch(53.12% 0.211 330.1)
XYZxyz(24.0371, 12.7459, 36.3090)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA28A4 #28AA2E
analogous
#6F28AA #AA28A4 #AA2863
triadic
#AA28A4 #A4AA28 #28A4AA
tetradic
#AA28A4 #AA6F28 #28AA2E #2863AA
square
#AA28A4 #AA6F28 #28AA2E #2863AA
split-complementary
#AA28A4 #63AA28 #28AA6F
monochromatic
#471144 #781C74 #AA28A4 #D23ECB #DD6FD8

Accessibility & contrast

On white

5.92
#AA28A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AA28A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA28A4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA28A4#FFFFFF#000000##FFFFFF
##AA28A41.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A7
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#B03B65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa28a4;
/* rgb */ color: rgb(170, 40, 164);
/* oklch */ color: oklch(53.1% 0.211 330.1);
Tailwind
colors: {
  custom: {
    50: '#c771bf',
    500: '#aa28a4',
    950: '#000000',
  },
}
SCSS
$custom: #aa28a4;
$custom-light: #c771bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa28a4",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 302.769,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53123,
    "c": 0.21098,
    "h": 330.1
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#AA28A4
secondary
#6AC46E
accent
#E54A43
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA28A4

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

Preview Lab → · Contrast checker → · Palette generator →

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