#AA2CD4#AA2CD4

#AA2CD4 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.5% C 0.245 H 315.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AA2CD4
RGBrgb(170, 44, 212)
HSLhsl(285, 66%, 50%)
HSVhsv(285, 79%, 83%)
CMYKcmyk(19.8%, 79.2%, 0%, 16.9%)
CIE-LABlab(45.77, 71.73, -60.72)
CIE-LCHlch(45.77, 93.98, 319.75°)
OKLaboklab(56.48% 0.1753 -0.1714)
OKLCHoklch(56.48% 0.245 315.6)
XYZxyz(29.3600, 15.1020, 63.6430)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CD4 #56D42C
analogous
#562CD4 #AA2CD4 #D42CAA
triadic
#AA2CD4 #D4AA2C #2CD4AA
tetradic
#AA2CD4 #D4562C #56D42C #2CAAD4
square
#AA2CD4 #D4562C #56D42C #2CAAD4
split-complementary
#AA2CD4 #AAD42C #2CD456
monochromatic
#59176F #8221A2 #AA2CD4 #BE5FDE #D392E9

Accessibility & contrast

On white

5.22
#AA2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AA2CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CD4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CD4#FFFFFF#000000##FFFFFF
##AA2CD41.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#2670D1
Tritanopia (blue-blind)
#A75481
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa2cd4;
/* rgb */ color: rgb(170, 44, 212);
/* oklch */ color: oklch(56.5% 0.245 315.6);
Tailwind
colors: {
  custom: {
    50: '#c875e2',
    500: '#aa2cd4',
    950: '#000000',
  },
}
SCSS
$custom: #aa2cd4;
$custom-light: #c875e2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2cd4",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 285,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5648,
    "c": 0.24516,
    "h": 315.6
  },
  "luminance": 0.15101
}

Semantic roles & 50–950 ramp

primary
#AA2CD4
secondary
#9BD388
accent
#E93F69
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140915
muted
#827B84

Preview Lab

Preview with #AA2CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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