#AA52BD#AA52BD

#AA52BD is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.9% C 0.178 H 320.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AA52BD
RGBrgb(170, 82, 189)
HSLhsl(289, 45%, 53%)
HSVhsv(289, 57%, 74%)
CMYKcmyk(10.1%, 56.6%, 0%, 25.9%)
CIE-LABlab(49.81, 52.11, -40.99)
CIE-LCHlch(49.81, 66.30, 321.81°)
OKLaboklab(58.93% 0.1369 -0.1139)
OKLCHoklch(58.93% 0.178 320.2)
XYZxyz(28.7790, 18.2560, 50.1421)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52BD #65BD52
analogous
#7452BD #AA52BD #BD529A
triadic
#AA52BD #BDAA52 #52BDAA
tetradic
#AA52BD #BD7452 #65BD52 #529ABD
square
#AA52BD #BD7452 #65BD52 #529ABD
split-complementary
#AA52BD #9ABD52 #52BD74
monochromatic
#60296C #873A98 #AA52BD #C07ECE #D6ABDF

Accessibility & contrast

On white

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

On black

4.65
#AA52BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52BD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52BD#FFFFFF#000000##000000
##AA52BD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C70C0
Deuteranopia (green-blind)
#5B7ABA
Tritanopia (blue-blind)
#AB6280
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa52bd;
/* rgb */ color: rgb(170, 82, 189);
/* oklch */ color: oklch(58.9% 0.178 320.2);
Tailwind
colors: {
  custom: {
    50: '#c687d1',
    500: '#aa52bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa52bd;
$custom-light: #c687d1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52bd",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 289.346,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5893,
    "c": 0.17811,
    "h": 320.2
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#AA52BD
secondary
#A7CC9E
accent
#D4536A
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AA52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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