#AA2CB4#AA2CB4

#AA2CB4 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.219 H 324.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AA2CB4
RGBrgb(170, 44, 180)
HSLhsl(296, 61%, 44%)
HSVhsv(296, 76%, 71%)
CMYKcmyk(5.6%, 75.6%, 0%, 29.4%)
CIE-LABlab(43.72, 65.98, -45.40)
CIE-LCHlch(43.72, 80.09, 325.47°)
OKLaboklab(54.37% 0.1791 -0.1265)
OKLCHoklch(54.37% 0.219 324.8)
XYZxyz(25.7158, 13.6444, 44.4503)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CB4 #36B42C
analogous
#662CB4 #AA2CB4 #B42C7A
triadic
#AA2CB4 #B4AA2C #2CB4AA
tetradic
#AA2CB4 #B4662C #36B42C #2C7AB4
square
#AA2CB4 #B4662C #36B42C #2C7AB4
split-complementary
#AA2CB4 #7AB42C #2CB466
monochromatic
#4D1452 #7C2083 #AA2CB4 #C94AD3 #D87CDF

Accessibility & contrast

On white

5.63
#AA2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AA2CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CB4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CB4#FFFFFF#000000##FFFFFF
##AA2CB41.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#486CB1
Tritanopia (blue-blind)
#AE456F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa2cb4;
/* rgb */ color: rgb(170, 44, 180);
/* oklch */ color: oklch(54.4% 0.219 324.8);
Tailwind
colors: {
  custom: {
    50: '#c773cb',
    500: '#aa2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #aa2cb4;
$custom-light: #c773cb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2cb4",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 295.588,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54374,
    "c": 0.21929,
    "h": 324.8
  },
  "luminance": 0.13643
}

Semantic roles & 50–950 ramp

primary
#AA2CB4
secondary
#7BC775
accent
#E44450
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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