#AA4EC2#AA4EC2

#AA4EC2 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.189 H 318.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#AA4EC2
RGBrgb(170, 78, 194)
HSLhsl(288, 49%, 53%)
HSVhsv(288, 60%, 76%)
CMYKcmyk(12.4%, 59.8%, 0%, 23.9%)
CIE-LABlab(49.36, 55.01, -44.58)
CIE-LCHlch(49.36, 70.81, 320.98°)
OKLaboklab(58.7% 0.1423 -0.1244)
OKLCHoklch(58.7% 0.189 318.8)
XYZxyz(29.0383, 17.8911, 52.9522)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EC2 #66C24E
analogous
#704EC2 #AA4EC2 #C24EA0
triadic
#AA4EC2 #C2AA4E #4EC2AA
tetradic
#AA4EC2 #C2704E #66C24E #4EA0C2
square
#AA4EC2 #C2704E #66C24E #4EA0C2
split-complementary
#AA4EC2 #A0C24E #4EC270
monochromatic
#60266F #88369D #AA4EC2 #C07CD2 #D6A9E1

Accessibility & contrast

On white

4.59
#AA4EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AA4EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4EC2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EC2#FFFFFF#000000##FFFFFF
##AA4EC21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316FC6
Deuteranopia (green-blind)
#5578BF
Tritanopia (blue-blind)
#AA6181
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa4ec2;
/* rgb */ color: rgb(170, 78, 194);
/* oklch */ color: oklch(58.7% 0.189 318.8);
Tailwind
colors: {
  custom: {
    50: '#c685d5',
    500: '#aa4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ec2;
$custom-light: #c685d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ec2",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 287.586,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58695,
    "c": 0.189,
    "h": 318.8
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#AA4EC2
secondary
#A7CF9D
accent
#D8506C
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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