#AA4DC5#AA4DC5

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

Color values

HEX#AA4DC5
RGBrgb(170, 77, 197)
HSLhsl(287, 51%, 54%)
HSVhsv(287, 61%, 77%)
CMYKcmyk(13.7%, 60.9%, 0%, 22.7%)
CIE-LABlab(49.36, 56.08, -46.33)
CIE-LCHlch(49.36, 72.74, 320.44°)
OKLaboklab(58.74% 0.1436 -0.1294)
OKLCHoklch(58.74% 0.193 318)
XYZxyz(29.3081, 17.8862, 54.7211)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4DC5 #68C54D
analogous
#6E4DC5 #AA4DC5 #C54DA4
triadic
#AA4DC5 #C5AA4D #4DC5AA
tetradic
#AA4DC5 #C56E4D #68C54D #4DA4C5
square
#AA4DC5 #C56E4D #68C54D #4DA4C5
split-complementary
#AA4DC5 #A4C54D #4DC56E
monochromatic
#612572 #8834A0 #AA4DC5 #C07BD4 #D6A9E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA4DC5#FFFFFF#000000##FFFFFF
##AA4DC51.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)
#2C6FC9
Deuteranopia (green-blind)
#5278C2
Tritanopia (blue-blind)
#A96182
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa4dc5;
/* rgb */ color: rgb(170, 77, 197);
/* oklch */ color: oklch(58.7% 0.193 318.0);
Tailwind
colors: {
  custom: {
    50: '#c684d7',
    500: '#aa4dc5',
    950: '#000000',
  },
}
SCSS
$custom: #aa4dc5;
$custom-light: #c684d7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4dc5",
  "rgb": {
    "r": 170,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 286.5,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58744,
    "c": 0.19336,
    "h": 318
  },
  "luminance": 0.17885
}

Semantic roles & 50–950 ramp

primary
#AA4DC5
secondary
#A9D19D
accent
#DA4D6D
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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