#AA52C4#AA52C4

#AA52C4 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.3% C 0.185 H 317.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AA52C4
RGBrgb(170, 82, 196)
HSLhsl(286, 49%, 55%)
HSVhsv(286, 58%, 77%)
CMYKcmyk(13.3%, 58.2%, 0%, 23.1%)
CIE-LABlab(50.18, 53.50, -44.45)
CIE-LCHlch(50.18, 69.56, 320.28°)
OKLaboklab(59.32% 0.1373 -0.124)
OKLCHoklch(59.32% 0.185 317.9)
XYZxyz(29.5573, 18.5673, 54.2407)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52C4 #6CC452
analogous
#7152C4 #AA52C4 #C452A5
triadic
#AA52C4 #C4AA52 #52C4AA
tetradic
#AA52C4 #C47152 #6CC452 #52A5C4
square
#AA52C4 #C47152 #6CC452 #52A5C4
split-complementary
#AA52C4 #A5C452 #52C471
monochromatic
#632874 #8937A2 #AA52C4 #C080D4 #D7ADE3

Accessibility & contrast

On white

4.46
#AA52C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#AA52C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52C4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52C4#FFFFFF#000000##000000
##AA52C41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3672C8
Deuteranopia (green-blind)
#577AC1
Tritanopia (blue-blind)
#AA6483
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa52c4;
/* rgb */ color: rgb(170, 82, 196);
/* oklch */ color: oklch(59.3% 0.185 317.9);
Tailwind
colors: {
  custom: {
    50: '#c687d6',
    500: '#aa52c4',
    950: '#000000',
  },
}
SCSS
$custom: #aa52c4;
$custom-light: #c687d6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52c4",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 286.316,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59323,
    "c": 0.18503,
    "h": 317.9
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#AA52C4
secondary
#ACD1A1
accent
#D94F6E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA52C4

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

Preview Lab → · Contrast checker → · Palette generator →

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