#AA4CC2#AA4CC2

#AA4CC2 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.4% C 0.192 H 319.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AA4CC2
RGBrgb(170, 76, 194)
HSLhsl(288, 49%, 53%)
HSVhsv(288, 61%, 76%)
CMYKcmyk(12.4%, 60.8%, 0%, 23.9%)
CIE-LABlab(49.02, 55.95, -45.13)
CIE-LCHlch(49.02, 71.88, 321.11°)
OKLaboklab(58.45% 0.1448 -0.1259)
OKLCHoklch(58.45% 0.192 319)
XYZxyz(28.8983, 17.6112, 52.9056)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4CC2 #64C24C
analogous
#6F4CC2 #AA4CC2 #C24C9F
triadic
#AA4CC2 #C2AA4C #4CC2AA
tetradic
#AA4CC2 #C26F4C #64C24C #4C9FC2
square
#AA4CC2 #C26F4C #64C24C #4C9FC2
split-complementary
#AA4CC2 #9FC24C #4CC26F
monochromatic
#5F266E #87359C #AA4CC2 #C07AD2 #D5A7E1

Accessibility & contrast

On white

4.64
#AA4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#AA4CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4CC2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4CC2#FFFFFF#000000##FFFFFF
##AA4CC21.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC6
Deuteranopia (green-blind)
#5378BF
Tritanopia (blue-blind)
#AA5F80
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #aa4cc2;
/* rgb */ color: rgb(170, 76, 194);
/* oklch */ color: oklch(58.4% 0.192 319.0);
Tailwind
colors: {
  custom: {
    50: '#c683d5',
    500: '#aa4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4cc2;
$custom-light: #c683d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4cc2",
  "rgb": {
    "r": 170,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 287.797,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58446,
    "c": 0.1919,
    "h": 319
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#AA4CC2
secondary
#A6CE9B
accent
#D94F6B
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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