#AA52CD#AA52CD

#AA52CD is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.194 H 315.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AA52CD
RGBrgb(170, 82, 205)
HSLhsl(283, 55%, 56%)
HSVhsv(283, 60%, 80%)
CMYKcmyk(17.1%, 60%, 0%, 19.6%)
CIE-LABlab(50.67, 55.34, -48.83)
CIE-LCHlch(50.67, 73.80, 318.58°)
OKLaboklab(59.85% 0.1376 -0.1368)
OKLCHoklch(59.85% 0.194 315.2)
XYZxyz(30.6126, 18.9894, 59.7985)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA52CD #75CD52
analogous
#6D52CD #AA52CD #CD52B3
triadic
#AA52CD #CDAA52 #52CDAA
tetradic
#AA52CD #CD6D52 #75CD52 #52B3CD
square
#AA52CD #CD6D52 #75CD52 #52B3CD
split-complementary
#AA52CD #B3CD52 #52CD6D
monochromatic
#662580 #8C33AF #AA52CD #C181DB #D9B1E8

Accessibility & contrast

On white

4.38
#AA52CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#AA52CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA52CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA52CD#FFFFFF#000000##000000
##AA52CD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C73D1
Deuteranopia (green-blind)
#507BCA
Tritanopia (blue-blind)
#A86888
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa52cd;
/* rgb */ color: rgb(170, 82, 205);
/* oklch */ color: oklch(59.8% 0.194 315.2);
Tailwind
colors: {
  custom: {
    50: '#c687dd',
    500: '#aa52cd',
    950: '#000000',
  },
}
SCSS
$custom: #aa52cd;
$custom-light: #c687dd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa52cd",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 282.927,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59846,
    "c": 0.19403,
    "h": 315.2
  },
  "luminance": 0.18988
}

Semantic roles & 50–950 ramp

primary
#AA52CD
secondary
#B2D7A4
accent
#DE4974
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #AA52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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