#AA4ED2#AA4ED2

#AA4ED2 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.6% C 0.205 H 314.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#AA4ED2
RGBrgb(170, 78, 210)
HSLhsl(282, 59%, 56%)
HSVhsv(282, 63%, 82%)
CMYKcmyk(19%, 62.9%, 0%, 17.6%)
CIE-LABlab(50.27, 58.26, -52.33)
CIE-LCHlch(50.27, 78.31, 318.07°)
OKLaboklab(59.65% 0.1424 -0.147)
OKLCHoklch(59.65% 0.205 314.1)
XYZxyz(30.9329, 18.6489, 62.9304)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4ED2 #76D24E
analogous
#684ED2 #AA4ED2 #D24EB8
triadic
#AA4ED2 #D2AA4E #4ED2AA
tetradic
#AA4ED2 #D2684E #76D24E #4EB8D2
square
#AA4ED2 #D2684E #76D24E #4EB8D2
split-complementary
#AA4ED2 #B8D24E #4ED268
monochromatic
#662284 #8C2EB5 #AA4ED2 #C17FDE #D9B0EB

Accessibility & contrast

On white

4.44
#AA4ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#AA4ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4ED2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4ED2#FFFFFF#000000##000000
##AA4ED21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1873D6
Deuteranopia (green-blind)
#497ACF
Tritanopia (blue-blind)
#A66789
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #aa4ed2;
/* rgb */ color: rgb(170, 78, 210);
/* oklch */ color: oklch(59.6% 0.205 314.1);
Tailwind
colors: {
  custom: {
    50: '#c785e0',
    500: '#aa4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ed2;
$custom-light: #c785e0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ed2",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 281.818,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.20468,
    "h": 314.1
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#AA4ED2
secondary
#B3D9A3
accent
#E34575
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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