#AA4E9C#AA4E9C

#AA4E9C is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.7% C 0.154 H 333.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AA4E9C
RGBrgb(170, 78, 156)
HSLhsl(309, 37%, 49%)
HSVhsv(309, 54%, 67%)
CMYKcmyk(0%, 54.1%, 8.2%, 33.3%)
CIE-LABlab(47.49, 47.98, -25.25)
CIE-LCHlch(47.49, 54.22, 332.24°)
OKLaboklab(56.71% 0.1381 -0.0687)
OKLCHoklch(56.71% 0.154 333.6)
XYZxyz(25.3027, 16.3969, 33.2783)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4E9C #4EAA5C
analogous
#8A4EAA #AA4E9C #AA4E6E
triadic
#AA4E9C #9CAA4E #4E9CAA
tetradic
#AA4E9C #AA8A4E #4EAA5C #4E6EAA
square
#AA4E9C #AA8A4E #4EAA5C #4E6EAA
split-complementary
#AA4E9C #6EAA4E #4EAA8A
monochromatic
#56284F #803B76 #AA4E9C #C075B5 #D39FCB

Accessibility & contrast

On white

4.91
#AA4E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AA4E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4E9C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4E9C#FFFFFF#000000##FFFFFF
##AA4E9C1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D689F
Deuteranopia (green-blind)
#687699
Tritanopia (blue-blind)
#B1546E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4e9c;
/* rgb */ color: rgb(170, 78, 156);
/* oklch */ color: oklch(56.7% 0.154 333.6);
Tailwind
colors: {
  custom: {
    50: '#c684b9',
    500: '#aa4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #aa4e9c;
$custom-light: #c684b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4e9c",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 309.13,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.15418,
    "h": 333.6
  },
  "luminance": 0.16395
}

Semantic roles & 50–950 ramp

primary
#AA4E9C
secondary
#94C09B
accent
#CD6C5B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AA4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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