#AA25A2#AA25A2

#AA25A2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.212 H 330.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AA25A2
RGBrgb(170, 37, 162)
HSLhsl(304, 64%, 41%)
HSVhsv(304, 78%, 67%)
CMYKcmyk(0%, 78.2%, 4.7%, 33.3%)
CIE-LABlab(41.97, 65.11, -37.49)
CIE-LCHlch(41.97, 75.13, 330.07°)
OKLaboklab(52.8% 0.1854 -0.1035)
OKLCHoklch(52.8% 0.212 330.8)
XYZxyz(23.7607, 12.4798, 35.3328)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA25A2 #25AA2D
analogous
#6F25AA #AA25A2 #AA255F
triadic
#AA25A2 #A2AA25 #25A2AA
tetradic
#AA25A2 #AA6F25 #25AA2D #255FAA
square
#AA25A2 #AA6F25 #25AA2D #255FAA
split-complementary
#AA25A2 #5FAA25 #25AA6F
monochromatic
#450F42 #781A72 #AA25A2 #D438CA #DF6BD8

Accessibility & contrast

On white

6.01
#AA25A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AA25A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA25A2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA25A2#FFFFFF#000000##FFFFFF
##AA25A21.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1357A5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#B13863
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa25a2;
/* rgb */ color: rgb(170, 37, 162);
/* oklch */ color: oklch(52.8% 0.212 330.8);
Tailwind
colors: {
  custom: {
    50: '#c770be',
    500: '#aa25a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa25a2;
$custom-light: #c770be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa25a2",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 303.609,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52795,
    "c": 0.21234,
    "h": 330.8
  },
  "luminance": 0.12478
}

Semantic roles & 50–950 ramp

primary
#AA25A2
secondary
#66C56C
accent
#E74B41
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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