#AA25A7#AA25A7

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

Color values

HEX#AA25A7
RGBrgb(170, 37, 167)
HSLhsl(301, 64%, 41%)
HSVhsv(301, 78%, 67%)
CMYKcmyk(0%, 78.2%, 1.8%, 33.3%)
CIE-LABlab(42.25, 65.90, -40.04)
CIE-LCHlch(42.25, 77.11, 328.72°)
OKLaboklab(53.08% 0.1854 -0.1109)
OKLCHoklch(53.08% 0.216 329.1)
XYZxyz(24.2140, 12.6611, 37.7202)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA25A7 #25AA28
analogous
#6A25AA #AA25A7 #AA2565
triadic
#AA25A7 #A7AA25 #25A7AA
tetradic
#AA25A7 #AA6A25 #25AA28 #2565AA
square
#AA25A7 #AA6A25 #25AA28 #2565AA
split-complementary
#AA25A7 #65AA25 #25AA6A
monochromatic
#450F44 #781A76 #AA25A7 #D438D0 #DF6BDC

Accessibility & contrast

On white

5.95
#AA25A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AA25A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA25A7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA25A7#FFFFFF#000000##FFFFFF
##AA25A71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0559AA
Deuteranopia (green-blind)
#4E6AA4
Tritanopia (blue-blind)
#B03A66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa25a7;
/* rgb */ color: rgb(170, 37, 167);
/* oklch */ color: oklch(53.1% 0.216 329.1);
Tailwind
colors: {
  custom: {
    50: '#c770c2',
    500: '#aa25a7',
    950: '#000000',
  },
}
SCSS
$custom: #aa25a7;
$custom-light: #c770c2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa25a7",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 301.353,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.216,
    "h": 329.1
  },
  "luminance": 0.12659
}

Semantic roles & 50–950 ramp

primary
#AA25A7
secondary
#66C568
accent
#E74441
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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