#AA4EA7#AA4EA7

#AA4EA7 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.2% C 0.164 H 328.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AA4EA7
RGBrgb(170, 78, 167)
HSLhsl(302, 37%, 49%)
HSVhsv(302, 54%, 67%)
CMYKcmyk(0%, 54.1%, 1.8%, 33.3%)
CIE-LABlab(47.99, 49.90, -30.99)
CIE-LCHlch(47.99, 58.74, 328.16°)
OKLaboklab(57.24% 0.1399 -0.085)
OKLCHoklch(57.24% 0.164 328.7)
XYZxyz(26.2767, 16.7864, 38.4078)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EA7 #4EAA51
analogous
#7F4EAA #AA4EA7 #AA4E79
triadic
#AA4EA7 #A7AA4E #4EA7AA
tetradic
#AA4EA7 #AA7F4E #4EAA51 #4E79AA
square
#AA4EA7 #AA7F4E #4EAA51 #4E79AA
split-complementary
#AA4EA7 #79AA4E #4EAA7F
monochromatic
#562855 #803B7E #AA4EA7 #C075BD #D39FD1

Accessibility & contrast

On white

4.82
#AA4EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AA4EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EA7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EA7#FFFFFF#000000##FFFFFF
##AA4EA71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AAA
Deuteranopia (green-blind)
#6376A4
Tritanopia (blue-blind)
#AF5773
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa4ea7;
/* rgb */ color: rgb(170, 78, 167);
/* oklch */ color: oklch(57.2% 0.164 328.7);
Tailwind
colors: {
  custom: {
    50: '#c684c1',
    500: '#aa4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ea7;
$custom-light: #c684c1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ea7",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 301.957,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57243,
    "c": 0.1637,
    "h": 328.7
  },
  "luminance": 0.16785
}

Semantic roles & 50–950 ramp

primary
#AA4EA7
secondary
#94C095
accent
#CD5E5B
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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