#AA2CA7#AA2CA7

#AA2CA7 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.6% C 0.209 H 329.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AA2CA7
RGBrgb(170, 44, 167)
HSLhsl(301, 59%, 42%)
HSVhsv(301, 74%, 67%)
CMYKcmyk(0%, 74.1%, 1.8%, 33.3%)
CIE-LABlab(42.97, 63.81, -38.89)
CIE-LCHlch(42.97, 74.73, 328.64°)
OKLaboklab(53.6% 0.1794 -0.1076)
OKLCHoklch(53.6% 0.209 329.1)
XYZxyz(24.4531, 13.1393, 37.7999)
Luminance0.1314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2CA7 #2CAA2F
analogous
#6E2CAA #AA2CA7 #AA2C68
triadic
#AA2CA7 #A7AA2C #2CA7AA
tetradic
#AA2CA7 #AA6E2C #2CAA2F #2C68AA
square
#AA2CA7 #AA6E2C #2CAA2F #2C68AA
split-complementary
#AA2CA7 #68AA2C #2CAA6E
monochromatic
#491347 #791F77 #AA2CA7 #CF44CB #DB75D9

Accessibility & contrast

On white

5.79
#AA2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AA2CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2CA7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2CA7#FFFFFF#000000##FFFFFF
##AA2CA71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175BAA
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#B03F67
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2ca7;
/* rgb */ color: rgb(170, 44, 167);
/* oklch */ color: oklch(53.6% 0.209 329.1);
Tailwind
colors: {
  custom: {
    50: '#c773c1',
    500: '#aa2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #aa2ca7;
$custom-light: #c773c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2ca7",
  "rgb": {
    "r": 170,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 301.429,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53601,
    "c": 0.20921,
    "h": 329.1
  },
  "luminance": 0.13137
}

Semantic roles & 50–950 ramp

primary
#AA2CA7
secondary
#6FC371
accent
#E24946
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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