#AA4EAC#AA4EAC

#AA4EAC is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.5% C 0.168 H 326.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AA4EAC
RGBrgb(170, 78, 172)
HSLhsl(299, 38%, 49%)
HSVhsv(299, 55%, 67%)
CMYKcmyk(1.2%, 54.7%, 0%, 32.5%)
CIE-LABlab(48.23, 50.81, -33.55)
CIE-LCHlch(48.23, 60.89, 326.56°)
OKLaboklab(57.5% 0.1406 -0.0924)
OKLCHoklch(57.5% 0.168 326.7)
XYZxyz(26.7479, 16.9749, 40.8893)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EAC #50AC4E
analogous
#7B4EAC #AA4EAC #AC4E7F
triadic
#AA4EAC #ACAA4E #4EACAA
tetradic
#AA4EAC #AC7B4E #50AC4E #4E7FAC
square
#AA4EAC #AC7B4E #50AC4E #4E7FAC
split-complementary
#AA4EAC #7FAC4E #4EAC7B
monochromatic
#572858 #803B82 #AA4EAC #BF76C1 #D3A0D4

Accessibility & contrast

On white

4.78
#AA4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AA4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EAC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EAC#FFFFFF#000000##FFFFFF
##AA4EAC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#6177A9
Tritanopia (blue-blind)
#AE5976
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4eac;
/* rgb */ color: rgb(170, 78, 172);
/* oklch */ color: oklch(57.5% 0.168 326.7);
Tailwind
colors: {
  custom: {
    50: '#c684c5',
    500: '#aa4eac',
    950: '#000000',
  },
}
SCSS
$custom: #aa4eac;
$custom-light: #c684c5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4eac",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 298.723,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.16821,
    "h": 326.7
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#AA4EAC
secondary
#96C195
accent
#CE5A5D
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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