#AA25A8#AA25A8

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

Color values

HEX#AA25A8
RGBrgb(170, 37, 168)
HSLhsl(301, 64%, 41%)
HSVhsv(301, 78%, 67%)
CMYKcmyk(0%, 78.2%, 1.2%, 33.3%)
CIE-LABlab(42.30, 66.06, -40.54)
CIE-LCHlch(42.30, 77.51, 328.46°)
OKLaboklab(53.14% 0.1854 -0.1123)
OKLCHoklch(53.14% 0.217 328.8)
XYZxyz(24.3068, 12.6982, 38.2090)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA25A8 #25AA27
analogous
#6925AA #AA25A8 #AA2565
triadic
#AA25A8 #A8AA25 #25A8AA
tetradic
#AA25A8 #AA6925 #25AA27 #2565AA
square
#AA25A8 #AA6925 #25AA27 #2565AA
split-complementary
#AA25A8 #65AA25 #25AA69
monochromatic
#450F45 #781A76 #AA25A8 #D438D1 #DF6BDD

Accessibility & contrast

On white

5.93
#AA25A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AA25A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA25A8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA25A8#FFFFFF#000000##FFFFFF
##AA25A81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0259AB
Deuteranopia (green-blind)
#4D6AA5
Tritanopia (blue-blind)
#B03B66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa25a8;
/* rgb */ color: rgb(170, 37, 168);
/* oklch */ color: oklch(53.1% 0.217 328.8);
Tailwind
colors: {
  custom: {
    50: '#c770c2',
    500: '#aa25a8',
    950: '#000000',
  },
}
SCSS
$custom: #aa25a8;
$custom-light: #c770c2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa25a8",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 300.902,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.53143,
    "c": 0.21674,
    "h": 328.8
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#AA25A8
secondary
#66C567
accent
#E74341
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140912
muted
#827B81

Preview Lab

Preview with #AA25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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