#AA25A6#AA25A6

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

Color values

HEX#AA25A6
RGBrgb(170, 37, 166)
HSLhsl(302, 64%, 41%)
HSVhsv(302, 78%, 67%)
CMYKcmyk(0%, 78.2%, 2.4%, 33.3%)
CIE-LABlab(42.19, 65.74, -39.53)
CIE-LCHlch(42.19, 76.71, 328.98°)
OKLaboklab(53.03% 0.1854 -0.1094)
OKLCHoklch(53.03% 0.215 329.5)
XYZxyz(24.1219, 12.6242, 37.2353)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA25A6 #25AA29
analogous
#6C25AA #AA25A6 #AA2563
triadic
#AA25A6 #A6AA25 #25A6AA
tetradic
#AA25A6 #AA6C25 #25AA29 #2563AA
square
#AA25A6 #AA6C25 #25AA29 #2563AA
split-complementary
#AA25A6 #63AA25 #25AA6C
monochromatic
#450F44 #781A75 #AA25A6 #D438CF #DF6BDB

Accessibility & contrast

On white

5.96
#AA25A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA25A6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA25A6#FFFFFF#000000##FFFFFF
##AA25A61.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A9
Deuteranopia (green-blind)
#4E6AA3
Tritanopia (blue-blind)
#B03A65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa25a6;
/* rgb */ color: rgb(170, 37, 166);
/* oklch */ color: oklch(53.0% 0.215 329.5);
Tailwind
colors: {
  custom: {
    50: '#c770c1',
    500: '#aa25a6',
    950: '#000000',
  },
}
SCSS
$custom: #aa25a6;
$custom-light: #c770c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa25a6",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 301.805,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53026,
    "c": 0.21527,
    "h": 329.5
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA25A6

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

Preview Lab → · Contrast checker → · Palette generator →

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