#AA4EC5#AA4EC5

#AA4EC5 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.9% C 0.192 H 317.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AA4EC5
RGBrgb(170, 78, 197)
HSLhsl(286, 51%, 54%)
HSVhsv(286, 60%, 77%)
CMYKcmyk(13.7%, 60.4%, 0%, 22.7%)
CIE-LABlab(49.53, 55.61, -46.05)
CIE-LCHlch(49.53, 72.21, 320.37°)
OKLaboklab(58.87% 0.1424 -0.1287)
OKLCHoklch(58.87% 0.192 317.9)
XYZxyz(29.3786, 18.0272, 54.7446)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4EC5 #69C54E
analogous
#6F4EC5 #AA4EC5 #C54EA4
triadic
#AA4EC5 #C5AA4E #4EC5AA
tetradic
#AA4EC5 #C56F4E #69C54E #4EA4C5
square
#AA4EC5 #C56F4E #69C54E #4EA4C5
split-complementary
#AA4EC5 #A4C54E #4EC56F
monochromatic
#612673 #8835A1 #AA4EC5 #C07CD4 #D6AAE3

Accessibility & contrast

On white

4.56
#AA4EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#AA4EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4EC5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4EC5#FFFFFF#000000##000000
##AA4EC51.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E70C9
Deuteranopia (green-blind)
#5379C2
Tritanopia (blue-blind)
#A96282
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #aa4ec5;
/* rgb */ color: rgb(170, 78, 197);
/* oklch */ color: oklch(58.9% 0.192 317.9);
Tailwind
colors: {
  custom: {
    50: '#c685d7',
    500: '#aa4ec5',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ec5;
$custom-light: #c685d7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ec5",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 286.387,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58868,
    "c": 0.19191,
    "h": 317.9
  },
  "luminance": 0.18026
}

Semantic roles & 50–950 ramp

primary
#AA4EC5
secondary
#AAD19E
accent
#DA4E6E
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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