#AA4CA2#AA4CA2

#AA4CA2 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.7% C 0.162 H 330.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AA4CA2
RGBrgb(170, 76, 162)
HSLhsl(305, 38%, 48%)
HSVhsv(305, 55%, 67%)
CMYKcmyk(0%, 55.3%, 4.7%, 33.3%)
CIE-LABlab(47.40, 49.98, -28.96)
CIE-LCHlch(47.40, 57.76, 329.92°)
OKLaboklab(56.73% 0.1419 -0.0792)
OKLCHoklch(56.73% 0.162 330.8)
XYZxyz(25.6834, 16.3252, 35.9737)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4CA2 #4CAA54
analogous
#834CAA #AA4CA2 #AA4C73
triadic
#AA4CA2 #A2AA4C #4CA2AA
tetradic
#AA4CA2 #AA834C #4CAA54 #4C73AA
square
#AA4CA2 #AA834C #4CAA54 #4C73AA
split-complementary
#AA4CA2 #73AA4C #4CAA83
monochromatic
#552651 #80397A #AA4CA2 #C073BA #D39DCF

Accessibility & contrast

On white

4.92
#AA4CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AA4CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4CA2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4CA2#FFFFFF#000000##FFFFFF
##AA4CA21.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#64759F
Tritanopia (blue-blind)
#B05470
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa4ca2;
/* rgb */ color: rgb(170, 76, 162);
/* oklch */ color: oklch(56.7% 0.162 330.8);
Tailwind
colors: {
  custom: {
    50: '#c683be',
    500: '#aa4ca2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ca2;
$custom-light: #c683be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ca2",
  "rgb": {
    "r": 170,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 305.106,
    "s": 38.211,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.16249,
    "h": 330.8
  },
  "luminance": 0.16324
}

Semantic roles & 50–950 ramp

primary
#AA4CA2
secondary
#92C096
accent
#CE645A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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