#AA52BF#AA52BF

#AA52BF is a mid, vivid purple. Relative luminance 0.183; OKLCH L 59.0% C 0.180 H 319.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AA52BF
RGBrgb(170, 82, 191)
HSLhsl(288, 46%, 54%)
HSVhsv(288, 57%, 75%)
CMYKcmyk(11%, 57.1%, 0%, 25.1%)
CIE-LABlab(49.91, 52.50, -41.98)
CIE-LCHlch(49.91, 67.22, 321.35°)
OKLaboklab(59.04% 0.137 -0.1168)
OKLCHoklch(59.04% 0.18 319.5)
XYZxyz(28.9976, 18.3434, 51.2933)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52BF #67BF52
analogous
#7352BF #AA52BF #BF529E
triadic
#AA52BF #BFAA52 #52BFAA
tetradic
#AA52BF #BF7352 #67BF52 #529EBF
square
#AA52BF #BF7352 #67BF52 #529EBF
split-complementary
#AA52BF #9EBF52 #52BF73
monochromatic
#61296E #88399B #AA52BF #C07FD0 #D6ABE0

Accessibility & contrast

On white

4.50
#AA52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AA52BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52BF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52BF#FFFFFF#000000##000000
##AA52BF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C2
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#AB6381
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa52bf;
/* rgb */ color: rgb(170, 82, 191);
/* oklch */ color: oklch(59.0% 0.180 319.5);
Tailwind
colors: {
  custom: {
    50: '#c687d3',
    500: '#aa52bf',
    950: '#000000',
  },
}
SCSS
$custom: #aa52bf;
$custom-light: #c687d3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52bf",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 288.44,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59041,
    "c": 0.18008,
    "h": 319.5
  },
  "luminance": 0.18342
}

Semantic roles & 50–950 ramp

primary
#AA52BF
secondary
#A8CE9F
accent
#D6526B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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