#AA2CD2#AA2CD2

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

Color values

HEX#AA2CD2
RGBrgb(170, 44, 210)
HSLhsl(286, 65%, 50%)
HSVhsv(286, 79%, 82%)
CMYKcmyk(19%, 79%, 0%, 17.6%)
CIE-LABlab(45.64, 71.35, -59.79)
CIE-LCHlch(45.64, 93.09, 320.04°)
OKLaboklab(56.34% 0.1756 -0.1687)
OKLCHoklch(56.34% 0.244 316.2)
XYZxyz(29.1093, 15.0018, 62.3226)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CD2 #54D22C
analogous
#572CD2 #AA2CD2 #D22CA7
triadic
#AA2CD2 #D2AA2C #2CD2AA
tetradic
#AA2CD2 #D2572C #54D22C #2CA7D2
square
#AA2CD2 #D2572C #54D22C #2CA7D2
split-complementary
#AA2CD2 #A7D22C #2CD257
monochromatic
#58176D #81219F #AA2CD2 #BF5EDD #D391E8

Accessibility & contrast

On white

5.25
#AA2CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AA2CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CD2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CD2#FFFFFF#000000##FFFFFF
##AA2CD21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#296FCF
Tritanopia (blue-blind)
#A75380
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa2cd2;
/* rgb */ color: rgb(170, 44, 210);
/* oklch */ color: oklch(56.3% 0.244 316.2);
Tailwind
colors: {
  custom: {
    50: '#c875e1',
    500: '#aa2cd2',
    950: '#000000',
  },
}
SCSS
$custom: #aa2cd2;
$custom-light: #c875e1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2cd2",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 210
  },
  "hsl": {
    "h": 285.542,
    "s": 65.354,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.24351,
    "h": 316.2
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#AA2CD2
secondary
#99D287
accent
#E83F68
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140915
muted
#827B83

Preview Lab

Preview with #AA2CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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