#AA2AD4#AA2AD4

#AA2AD4 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.3% C 0.247 H 315.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AA2AD4
RGBrgb(170, 42, 212)
HSLhsl(285, 67%, 50%)
HSVhsv(285, 80%, 83%)
CMYKcmyk(19.8%, 80.2%, 0%, 16.9%)
CIE-LABlab(45.57, 72.31, -61.04)
CIE-LCHlch(45.57, 94.62, 319.83°)
OKLaboklab(56.34% 0.1767 -0.1723)
OKLCHoklch(56.34% 0.247 315.7)
XYZxyz(29.2873, 14.9566, 63.6188)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2AD4 #54D42A
analogous
#552AD4 #AA2AD4 #D42AA9
triadic
#AA2AD4 #D4AA2A #2AD4AA
tetradic
#AA2AD4 #D4552A #54D42A #2AA9D4
square
#AA2AD4 #D4552A #54D42A #2AA9D4
split-complementary
#AA2AD4 #A9D42A #2AD455
monochromatic
#58166E #8120A1 #AA2AD4 #BF5CDF #D38FE9

Accessibility & contrast

On white

5.26
#AA2AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AA2AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2AD4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2AD4#FFFFFF#000000##FFFFFF
##AA2AD41.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#246FD0
Tritanopia (blue-blind)
#A75381
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa2ad4;
/* rgb */ color: rgb(170, 42, 212);
/* oklch */ color: oklch(56.3% 0.247 315.7);
Tailwind
colors: {
  custom: {
    50: '#c874e2',
    500: '#aa2ad4',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ad4;
$custom-light: #c874e2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ad4",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 212
  },
  "hsl": {
    "h": 285.176,
    "s": 66.929,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.24684,
    "h": 315.7
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#AA2AD4
secondary
#99D386
accent
#EA3E68
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140915
muted
#827B84

Preview Lab

Preview with #AA2AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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