#AA2E97#AA2E97

#AA2E97 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.195 H 334.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AA2E97
RGBrgb(170, 46, 151)
HSLhsl(309, 57%, 42%)
HSVhsv(309, 73%, 67%)
CMYKcmyk(0%, 72.9%, 11.2%, 33.3%)
CIE-LABlab(42.36, 60.65, -30.25)
CIE-LCHlch(42.36, 67.77, 333.49°)
OKLaboklab(52.89% 0.1768 -0.0827)
OKLCHoklch(52.89% 0.195 334.9)
XYZxyz(23.1407, 12.7364, 30.5118)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E97 #2EAA41
analogous
#7F2EAA #AA2E97 #AA2E59
triadic
#AA2E97 #97AA2E #2E97AA
tetradic
#AA2E97 #AA7F2E #2EAA41 #2E59AA
square
#AA2E97 #AA7F2E #2EAA41 #2E59AA
split-complementary
#AA2E97 #59AA2E #2EAA7F
monochromatic
#4A1441 #7A216C #AA2E97 #CD48B9 #DA78CB

Accessibility & contrast

On white

5.92
#AA2E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AA2E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E97
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E97#FFFFFF#000000##FFFFFF
##AA2E971.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#596B94
Tritanopia (blue-blind)
#B2385F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2e97;
/* rgb */ color: rgb(170, 46, 151);
/* oklch */ color: oklch(52.9% 0.195 334.9);
Tailwind
colors: {
  custom: {
    50: '#c773b6',
    500: '#aa2e97',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e97;
$custom-light: #c773b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e97",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 309.194,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.19517,
    "h": 334.9
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#AA2E97
secondary
#71C37E
accent
#E15F47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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