#AA52AF#AA52AF

#AA52AF is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.2% C 0.165 H 325.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AA52AF
RGBrgb(170, 82, 175)
HSLhsl(297, 37%, 50%)
HSVhsv(297, 53%, 69%)
CMYKcmyk(2.9%, 53.1%, 0%, 31.4%)
CIE-LABlab(49.10, 49.41, -33.94)
CIE-LCHlch(49.10, 59.95, 325.51°)
OKLaboklab(58.19% 0.1355 -0.0936)
OKLCHoklch(58.19% 0.165 325.4)
XYZxyz(27.3321, 17.6772, 42.5215)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52AF #57AF52
analogous
#7B52AF #AA52AF #AF5285
triadic
#AA52AF #AFAA52 #52AFAA
tetradic
#AA52AF #AF7B52 #57AF52 #5285AF
square
#AA52AF #AF7B52 #57AF52 #5285AF
split-complementary
#AA52AF #85AF52 #52AF7B
monochromatic
#592B5C #823E86 #AA52AF #BF7CC2 #D3A6D6

Accessibility & contrast

On white

4.63
#AA52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AA52AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA52AF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52AF#FFFFFF#000000##FFFFFF
##AA52AF1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#6279AC
Tritanopia (blue-blind)
#AE5D79
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa52af;
/* rgb */ color: rgb(170, 82, 175);
/* oklch */ color: oklch(58.2% 0.165 325.4);
Tailwind
colors: {
  custom: {
    50: '#c587c7',
    500: '#aa52af',
    950: '#000000',
  },
}
SCSS
$custom: #aa52af;
$custom-light: #c587c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52af",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 296.774,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58186,
    "c": 0.16464,
    "h": 325.4
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#AA52AF
secondary
#9CC39A
accent
#CD5B61
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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