#AA25A1#AA25A1

#AA25A1 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.212 H 331.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AA25A1
RGBrgb(170, 37, 161)
HSLhsl(304, 64%, 41%)
HSVhsv(304, 78%, 67%)
CMYKcmyk(0%, 78.2%, 5.3%, 33.3%)
CIE-LABlab(41.91, 64.96, -36.98)
CIE-LCHlch(41.91, 74.74, 330.35°)
OKLaboklab(52.74% 0.1854 -0.102)
OKLCHoklch(52.74% 0.212 331.2)
XYZxyz(23.6721, 12.4443, 34.8665)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA25A1 #25AA2E
analogous
#7025AA #AA25A1 #AA255E
triadic
#AA25A1 #A1AA25 #25A1AA
tetradic
#AA25A1 #AA7025 #25AA2E #255EAA
square
#AA25A1 #AA7025 #25AA2E #255EAA
split-complementary
#AA25A1 #5EAA25 #25AA70
monochromatic
#450F42 #781A71 #AA25A1 #D438C9 #DF6BD7

Accessibility & contrast

On white

6.02
#AA25A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AA25A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA25A1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA25A1#FFFFFF#000000##FFFFFF
##AA25A11.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A4
Deuteranopia (green-blind)
#51699E
Tritanopia (blue-blind)
#B13762
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa25a1;
/* rgb */ color: rgb(170, 37, 161);
/* oklch */ color: oklch(52.7% 0.212 331.2);
Tailwind
colors: {
  custom: {
    50: '#c770bd',
    500: '#aa25a1',
    950: '#000000',
  },
}
SCSS
$custom: #aa25a1;
$custom-light: #c770bd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa25a1",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 304.06,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52738,
    "c": 0.21162,
    "h": 331.2
  },
  "luminance": 0.12442
}

Semantic roles & 50–950 ramp

primary
#AA25A1
secondary
#66C56C
accent
#E74C41
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA25A1

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

Preview Lab → · Contrast checker → · Palette generator →

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