#AA25B2#AA25B2

#AA25B2 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.224 H 325.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AA25B2
RGBrgb(170, 37, 178)
HSLhsl(297, 66%, 42%)
HSVhsv(297, 79%, 70%)
CMYKcmyk(4.5%, 79.2%, 0%, 30.2%)
CIE-LABlab(42.89, 67.68, -45.54)
CIE-LCHlch(42.89, 81.58, 326.06°)
OKLaboklab(53.75% 0.1849 -0.1269)
OKLCHoklch(53.75% 0.224 325.5)
XYZxyz(25.2745, 13.0853, 43.3053)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA25B2 #2DB225
analogous
#6425B2 #AA25B2 #B22573
triadic
#AA25B2 #B2AA25 #25B2AA
tetradic
#AA25B2 #B26425 #2DB225 #2573B2
square
#AA25B2 #B26425 #2DB225 #2573B2
split-complementary
#AA25B2 #73B225 #25B264
monochromatic
#49104D #7A1A7F #AA25B2 #CE3DD7 #DB70E1

Accessibility & contrast

On white

5.81
#AA25B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AA25B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA25B2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA25B2#FFFFFF#000000##FFFFFF
##AA25B21.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#466BAF
Tritanopia (blue-blind)
#AE406C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa25b2;
/* rgb */ color: rgb(170, 37, 178);
/* oklch */ color: oklch(53.7% 0.224 325.5);
Tailwind
colors: {
  custom: {
    50: '#c771ca',
    500: '#aa25b2',
    950: '#000000',
  },
}
SCSS
$custom: #aa25b2;
$custom-light: #c771ca;
$custom-dark: #000000;
JSON
{
  "hex": "#aa25b2",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 296.596,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.22424,
    "h": 325.5
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#AA25B2
secondary
#70C86B
accent
#E93F49
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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