#AA25A5#AA25A5

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

Color values

HEX#AA25A5
RGBrgb(170, 37, 165)
HSLhsl(302, 64%, 41%)
HSVhsv(302, 78%, 67%)
CMYKcmyk(0%, 78.2%, 2.9%, 33.3%)
CIE-LABlab(42.14, 65.58, -39.02)
CIE-LCHlch(42.14, 76.31, 329.25°)
OKLaboklab(52.97% 0.1854 -0.1079)
OKLCHoklch(52.97% 0.215 329.8)
XYZxyz(24.0305, 12.5877, 36.7540)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA25A5 #25AA2A
analogous
#6D25AA #AA25A5 #AA2562
triadic
#AA25A5 #A5AA25 #25A5AA
tetradic
#AA25A5 #AA6D25 #25AA2A #2562AA
square
#AA25A5 #AA6D25 #25AA2A #2562AA
split-complementary
#AA25A5 #62AA25 #25AA6D
monochromatic
#450F43 #781A74 #AA25A5 #D438CE #DF6BDA

Accessibility & contrast

On white

5.97
#AA25A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA25A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA25A5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA25A5#FFFFFF#000000##FFFFFF
##AA25A51.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C58A8
Deuteranopia (green-blind)
#4F6AA2
Tritanopia (blue-blind)
#B03965
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa25a5;
/* rgb */ color: rgb(170, 37, 165);
/* oklch */ color: oklch(53.0% 0.215 329.8);
Tailwind
colors: {
  custom: {
    50: '#c770c0',
    500: '#aa25a5',
    950: '#000000',
  },
}
SCSS
$custom: #aa25a5;
$custom-light: #c770c0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa25a5",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 302.256,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.21453,
    "h": 329.8
  },
  "luminance": 0.12586
}

Semantic roles & 50–950 ramp

primary
#AA25A5
secondary
#66C569
accent
#E74741
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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