#AA52CF#AA52CF

#AA52CF is a mid, vivid purple. Relative luminance 0.191; OKLCH L 60.0% C 0.196 H 314.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AA52CF
RGBrgb(170, 82, 207)
HSLhsl(282, 57%, 57%)
HSVhsv(282, 60%, 81%)
CMYKcmyk(17.9%, 60.4%, 0%, 18.8%)
CIE-LABlab(50.79, 55.76, -49.79)
CIE-LCHlch(50.79, 74.75, 318.23°)
OKLaboklab(59.97% 0.1376 -0.1396)
OKLCHoklch(59.97% 0.196 314.6)
XYZxyz(30.8555, 19.0866, 61.0781)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52CF #77CF52
analogous
#6C52CF #AA52CF #CF52B6
triadic
#AA52CF #CFAA52 #52CFAA
tetradic
#AA52CF #CF6C52 #77CF52 #52B6CF
square
#AA52CF #CF6C52 #77CF52 #52B6CF
split-complementary
#AA52CF #B6CF52 #52CF6C
monochromatic
#672482 #8C31B2 #AA52CF #C282DC #D9B2EA

Accessibility & contrast

On white

4.36
#AA52CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#AA52CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52CF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52CF#FFFFFF#000000##000000
##AA52CF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2974D3
Deuteranopia (green-blind)
#4F7BCC
Tritanopia (blue-blind)
#A76889
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa52cf;
/* rgb */ color: rgb(170, 82, 207);
/* oklch */ color: oklch(60.0% 0.196 314.6);
Tailwind
colors: {
  custom: {
    50: '#c687de',
    500: '#aa52cf',
    950: '#000000',
  },
}
SCSS
$custom: #aa52cf;
$custom-light: #c687de;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52cf",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 282.24,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59965,
    "c": 0.19604,
    "h": 314.6
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

primary
#AA52CF
secondary
#B4D8A5
accent
#E04875
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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