#AA52BA#AA52BA

#AA52BA is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.8% C 0.175 H 321.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AA52BA
RGBrgb(170, 82, 186)
HSLhsl(291, 43%, 53%)
HSVhsv(291, 56%, 73%)
CMYKcmyk(8.6%, 55.9%, 0%, 27.1%)
CIE-LABlab(49.65, 51.52, -39.49)
CIE-LCHlch(49.65, 64.91, 322.53°)
OKLaboklab(58.77% 0.1367 -0.1096)
OKLCHoklch(58.77% 0.175 321.3)
XYZxyz(28.4568, 18.1271, 48.4448)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52BA #62BA52
analogous
#7652BA #AA52BA #BA5296
triadic
#AA52BA #BAAA52 #52BAAA
tetradic
#AA52BA #BA7652 #62BA52 #5296BA
square
#AA52BA #BA7652 #62BA52 #5296BA
split-complementary
#AA52BA #96BA52 #52BA76
monochromatic
#5E2A68 #863B94 #AA52BA #BF7ECB #D5AADD

Accessibility & contrast

On white

4.54
#AA52BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#AA52BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52BA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52BA#FFFFFF#000000##000000
##AA52BA1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BD
Deuteranopia (green-blind)
#5D79B7
Tritanopia (blue-blind)
#AC617E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa52ba;
/* rgb */ color: rgb(170, 82, 186);
/* oklch */ color: oklch(58.8% 0.175 321.3);
Tailwind
colors: {
  custom: {
    50: '#c687cf',
    500: '#aa52ba',
    950: '#000000',
  },
}
SCSS
$custom: #aa52ba;
$custom-light: #c687cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52ba",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 290.769,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58766,
    "c": 0.17518,
    "h": 321.3
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#AA52BA
secondary
#A4CA9D
accent
#D35568
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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