#AA2497#AA2497

#AA2497 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.205 H 334.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AA2497
RGBrgb(170, 36, 151)
HSLhsl(309, 65%, 40%)
HSVhsv(309, 79%, 67%)
CMYKcmyk(0%, 78.8%, 11.2%, 33.3%)
CIE-LABlab(41.29, 63.72, -31.94)
CIE-LCHlch(41.29, 71.28, 333.38°)
OKLaboklab(52.12% 0.1859 -0.0874)
OKLCHoklch(52.12% 0.205 334.8)
XYZxyz(22.7946, 12.0442, 30.3964)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2497 #24AA37
analogous
#7A24AA #AA2497 #AA2454
triadic
#AA2497 #97AA24 #2497AA
tetradic
#AA2497 #AA7A24 #24AA37 #2454AA
square
#AA2497 #AA7A24 #24AA37 #2454AA
split-complementary
#AA2497 #54AA24 #24AA7A
monochromatic
#450F3D #77196A #AA2497 #D537BE #DF69CF

Accessibility & contrast

On white

6.16
#AA2497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AA2497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2497
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2497#FFFFFF#000000##FFFFFF
##AA24971.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559A
Deuteranopia (green-blind)
#566894
Tritanopia (blue-blind)
#B3315C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2497;
/* rgb */ color: rgb(170, 36, 151);
/* oklch */ color: oklch(52.1% 0.205 334.8);
Tailwind
colors: {
  custom: {
    50: '#c76fb6',
    500: '#aa2497',
    950: '#000000',
  },
}
SCSS
$custom: #aa2497;
$custom-light: #c76fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2497",
  "rgb": {
    "r": 170,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 308.507,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.20545,
    "h": 334.8
  },
  "luminance": 0.12042
}

Semantic roles & 50–950 ramp

primary
#AA2497
secondary
#65C572
accent
#E85840
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2497

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

Preview Lab → · Contrast checker → · Palette generator →

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