#AA52C1#AA52C1

#AA52C1 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.2% C 0.182 H 318.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AA52C1
RGBrgb(170, 82, 193)
HSLhsl(288, 47%, 54%)
HSVhsv(288, 58%, 76%)
CMYKcmyk(11.9%, 57.5%, 0%, 24.3%)
CIE-LABlab(50.02, 52.90, -42.97)
CIE-LCHlch(50.02, 68.15, 320.91°)
OKLaboklab(59.15% 0.1372 -0.1197)
OKLCHoklch(59.15% 0.182 318.9)
XYZxyz(29.2192, 18.4321, 52.4604)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52C1 #69C152
analogous
#7352C1 #AA52C1 #C152A1
triadic
#AA52C1 #C1AA52 #52C1AA
tetradic
#AA52C1 #C17352 #69C152 #52A1C1
square
#AA52C1 #C17352 #69C152 #52A1C1
split-complementary
#AA52C1 #A1C152 #52C173
monochromatic
#612870 #88389D #AA52C1 #C07FD1 #D6ACE1

Accessibility & contrast

On white

4.48
#AA52C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AA52C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52C1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52C1#FFFFFF#000000##000000
##AA52C11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3971C5
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#AA6382
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #aa52c1;
/* rgb */ color: rgb(170, 82, 193);
/* oklch */ color: oklch(59.2% 0.182 318.9);
Tailwind
colors: {
  custom: {
    50: '#c687d4',
    500: '#aa52c1',
    950: '#000000',
  },
}
SCSS
$custom: #aa52c1;
$custom-light: #c687d4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52c1",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 287.568,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.18205,
    "h": 318.9
  },
  "luminance": 0.18431
}

Semantic roles & 50–950 ramp

primary
#AA52C1
secondary
#AACFA0
accent
#D7516D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #AA52C1

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

Preview Lab → · Contrast checker → · Palette generator →

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