#AA25B1#AA25B1

#AA25B1 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.223 H 325.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AA25B1
RGBrgb(170, 37, 177)
HSLhsl(297, 65%, 42%)
HSVhsv(297, 79%, 69%)
CMYKcmyk(4%, 79.1%, 0%, 30.6%)
CIE-LABlab(42.83, 67.52, -45.05)
CIE-LCHlch(42.83, 81.17, 326.29°)
OKLaboklab(53.69% 0.185 -0.1255)
OKLCHoklch(53.69% 0.223 325.8)
XYZxyz(25.1744, 13.0453, 42.7785)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA25B1 #2CB125
analogous
#6425B1 #AA25B1 #B12572
triadic
#AA25B1 #B1AA25 #25B1AA
tetradic
#AA25B1 #B16425 #2CB125 #2572B1
square
#AA25B1 #B16425 #2CB125 #2572B1
split-complementary
#AA25B1 #72B125 #25B164
monochromatic
#49104C #791A7E #AA25B1 #CF3DD6 #DB6FE1

Accessibility & contrast

On white

5.82
#AA25B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AA25B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA25B1
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA25B1#FFFFFF#000000##FFFFFF
##AA25B11.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#476BAE
Tritanopia (blue-blind)
#AE406B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa25b1;
/* rgb */ color: rgb(170, 37, 177);
/* oklch */ color: oklch(53.7% 0.223 325.8);
Tailwind
colors: {
  custom: {
    50: '#c770c9',
    500: '#aa25b1',
    950: '#000000',
  },
}
SCSS
$custom: #aa25b1;
$custom-light: #c770c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa25b1",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 297,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53686,
    "c": 0.22349,
    "h": 325.8
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#AA25B1
secondary
#6FC86A
accent
#E83F48
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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