#AA2CAA#AA2CAA

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

Color values

HEX#AA2CAA
RGBrgb(170, 44, 170)
HSLhsl(300, 59%, 42%)
HSVhsv(300, 74%, 67%)
CMYKcmyk(0%, 74.1%, 0%, 33.3%)
CIE-LABlab(43.14, 64.30, -40.41)
CIE-LCHlch(43.14, 75.95, 327.86°)
OKLaboklab(53.77% 0.1794 -0.112)
OKLCHoklch(53.77% 0.212 328)
XYZxyz(24.7336, 13.2515, 39.2775)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CAA #2CAA2C
analogous
#6B2CAA #AA2CAA #AA2C6B
triadic
#AA2CAA #AAAA2C #2CAAAA
tetradic
#AA2CAA #AA6B2C #2CAA2C #2C6BAA
square
#AA2CAA #AA6B2C #2CAA2C #2C6BAA
split-complementary
#AA2CAA #6BAA2C #2CAA6B
monochromatic
#491349 #791F79 #AA2CAA #CF44CF #DB75DB

Accessibility & contrast

On white

5.75
#AA2CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AA2CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CAA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CAA#FFFFFF#000000##FFFFFF
##AA2CAA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#AF4069
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa2caa;
/* rgb */ color: rgb(170, 44, 170);
/* oklch */ color: oklch(53.8% 0.212 328.0);
Tailwind
colors: {
  custom: {
    50: '#c773c4',
    500: '#aa2caa',
    950: '#000000',
  },
}
SCSS
$custom: #aa2caa;
$custom-light: #c773c4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2caa",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 300,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.21151,
    "h": 328
  },
  "luminance": 0.1325
}

Semantic roles & 50–950 ramp

primary
#AA2CAA
secondary
#6FC36F
accent
#E24646
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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