#AA2CAB#AA2CAB

#AA2CAB is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.212 H 327.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AA2CAB
RGBrgb(170, 44, 171)
HSLhsl(300, 59%, 42%)
HSVhsv(300, 74%, 67%)
CMYKcmyk(0.6%, 74.3%, 0%, 32.9%)
CIE-LABlab(43.20, 64.47, -40.91)
CIE-LCHlch(43.20, 76.35, 327.60°)
OKLaboklab(53.83% 0.1794 -0.1134)
OKLCHoklch(53.83% 0.212 327.7)
XYZxyz(24.8286, 13.2895, 39.7776)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CAB #2DAB2C
analogous
#6B2CAB #AA2CAB #AB2C6C
triadic
#AA2CAB #ABAA2C #2CABAA
tetradic
#AA2CAB #AB6B2C #2DAB2C #2C6CAB
square
#AA2CAB #AB6B2C #2DAB2C #2C6CAB
split-complementary
#AA2CAB #6CAB2C #2CAB6B
monochromatic
#49134A #7A1F7A #AA2CAB #CE45CF #DB76DC

Accessibility & contrast

On white

5.74
#AA2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AA2CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CAB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CAB#FFFFFF#000000##FFFFFF
##AA2CAB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5CAE
Deuteranopia (green-blind)
#4E6CA8
Tritanopia (blue-blind)
#AF406A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2cab;
/* rgb */ color: rgb(170, 44, 171);
/* oklch */ color: oklch(53.8% 0.212 327.7);
Tailwind
colors: {
  custom: {
    50: '#c773c4',
    500: '#aa2cab',
    950: '#000000',
  },
}
SCSS
$custom: #aa2cab;
$custom-light: #c773c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2cab",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 299.528,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53833,
    "c": 0.21228,
    "h": 327.7
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

primary
#AA2CAB
secondary
#70C36F
accent
#E24647
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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