#AA4EA2#AA4EA2

#AA4EA2 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.0% C 0.159 H 330.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AA4EA2
RGBrgb(170, 78, 162)
HSLhsl(305, 37%, 49%)
HSVhsv(305, 54%, 67%)
CMYKcmyk(0%, 54.1%, 4.7%, 33.3%)
CIE-LABlab(47.76, 49.02, -28.39)
CIE-LCHlch(47.76, 56.65, 329.92°)
OKLaboklab(57% 0.1391 -0.0776)
OKLCHoklch(57% 0.159 330.8)
XYZxyz(25.8234, 16.6051, 36.0204)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EA2 #4EAA56
analogous
#844EAA #AA4EA2 #AA4E74
triadic
#AA4EA2 #A2AA4E #4EA2AA
tetradic
#AA4EA2 #AA844E #4EAA56 #4E74AA
square
#AA4EA2 #AA844E #4EAA56 #4E74AA
split-complementary
#AA4EA2 #74AA4E #4EAA84
monochromatic
#562852 #803B7A #AA4EA2 #C075B9 #D39FCF

Accessibility & contrast

On white

4.86
#AA4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#AA4EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EA2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EA2#FFFFFF#000000##FFFFFF
##AA4EA21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#65769F
Tritanopia (blue-blind)
#B05671
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4ea2;
/* rgb */ color: rgb(170, 78, 162);
/* oklch */ color: oklch(57.0% 0.159 330.8);
Tailwind
colors: {
  custom: {
    50: '#c684be',
    500: '#aa4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ea2;
$custom-light: #c684be;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ea2",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 305.217,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56997,
    "c": 0.1593,
    "h": 330.8
  },
  "luminance": 0.16603
}

Semantic roles & 50–950 ramp

primary
#AA4EA2
secondary
#94C098
accent
#CD655B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #AA4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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