#AA4ED8#AA4ED8

#AA4ED8 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.0% C 0.211 H 312.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AA4ED8
RGBrgb(170, 78, 216)
HSLhsl(280, 64%, 58%)
HSVhsv(280, 64%, 85%)
CMYKcmyk(21.3%, 63.9%, 0%, 15.3%)
CIE-LABlab(50.63, 59.51, -55.18)
CIE-LCHlch(50.63, 81.16, 317.17°)
OKLaboklab(60.02% 0.1422 -0.1553)
OKLCHoklch(60.02% 0.211 312.5)
XYZxyz(31.6944, 18.9535, 66.9412)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4ED8 #7CD84E
analogous
#654ED8 #AA4ED8 #D84EC1
triadic
#AA4ED8 #D8AA4E #4ED8AA
tetradic
#AA4ED8 #D8654E #7CD84E #4EC1D8
square
#AA4ED8 #D8654E #7CD84E #4EC1D8
split-complementary
#AA4ED8 #C1D84E #4ED865
monochromatic
#681F8D #8D2ABF #AA4ED8 #C280E3 #DAB2EE

Accessibility & contrast

On white

4.38
#AA4ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#AA4ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AA4ED8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4ED8#FFFFFF#000000##000000
##AA4ED81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0274DC
Deuteranopia (green-blind)
#437BD5
Tritanopia (blue-blind)
#A5698C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #aa4ed8;
/* rgb */ color: rgb(170, 78, 216);
/* oklch */ color: oklch(60.0% 0.211 312.5);
Tailwind
colors: {
  custom: {
    50: '#c785e5',
    500: '#aa4ed8',
    950: '#000000',
  },
}
SCSS
$custom: #aa4ed8;
$custom-light: #c785e5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4ed8",
  "rgb": {
    "r": 170,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 280,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60023,
    "c": 0.21063,
    "h": 312.5
  },
  "luminance": 0.18953
}

Semantic roles & 50–950 ramp

primary
#AA4ED8
secondary
#B8DDA5
accent
#E74178
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #AA4ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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