#AA52BC#AA52BC

#AA52BC is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.9% C 0.177 H 320.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AA52BC
RGBrgb(170, 82, 188)
HSLhsl(290, 44%, 53%)
HSVhsv(290, 56%, 74%)
CMYKcmyk(9.6%, 56.4%, 0%, 26.3%)
CIE-LABlab(49.75, 51.91, -40.49)
CIE-LCHlch(49.75, 65.84, 322.04°)
OKLaboklab(58.88% 0.1368 -0.1125)
OKLCHoklch(58.88% 0.177 320.6)
XYZxyz(28.6709, 18.2127, 49.5724)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52BC #64BC52
analogous
#7552BC #AA52BC #BC5299
triadic
#AA52BC #BCAA52 #52BCAA
tetradic
#AA52BC #BC7552 #64BC52 #5299BC
square
#AA52BC #BC7552 #64BC52 #5299BC
split-complementary
#AA52BC #99BC52 #52BC75
monochromatic
#5F296A #873A97 #AA52BC #C07ECD #D5AADE

Accessibility & contrast

On white

4.52
#AA52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AA52BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52BC#FFFFFF#000000##000000
##AA52BC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#5B7AB9
Tritanopia (blue-blind)
#AB627F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa52bc;
/* rgb */ color: rgb(170, 82, 188);
/* oklch */ color: oklch(58.9% 0.177 320.6);
Tailwind
colors: {
  custom: {
    50: '#c687d0',
    500: '#aa52bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa52bc;
$custom-light: #c687d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52bc",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 289.811,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58875,
    "c": 0.17713,
    "h": 320.6
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#AA52BC
secondary
#A6CC9E
accent
#D4546A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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