#AA4DC2#AA4DC2

#AA4DC2 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.190 H 318.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AA4DC2
RGBrgb(170, 77, 194)
HSLhsl(288, 49%, 53%)
HSVhsv(288, 60%, 76%)
CMYKcmyk(12.4%, 60.3%, 0%, 23.9%)
CIE-LABlab(49.19, 55.48, -44.86)
CIE-LCHlch(49.19, 71.35, 321.05°)
OKLaboklab(58.57% 0.1436 -0.1252)
OKLCHoklch(58.57% 0.19 318.9)
XYZxyz(28.9678, 17.7501, 52.9287)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4DC2 #65C24D
analogous
#6F4DC2 #AA4DC2 #C24DA0
triadic
#AA4DC2 #C2AA4D #4DC2AA
tetradic
#AA4DC2 #C26F4D #65C24D #4DA0C2
square
#AA4DC2 #C26F4D #65C24D #4DA0C2
split-complementary
#AA4DC2 #A0C24D #4DC26F
monochromatic
#60266F #87369C #AA4DC2 #C07BD2 #D6A8E1

Accessibility & contrast

On white

4.62
#AA4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AA4DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4DC2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4DC2#FFFFFF#000000##FFFFFF
##AA4DC21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6FC6
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#AA6080
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #aa4dc2;
/* rgb */ color: rgb(170, 77, 194);
/* oklch */ color: oklch(58.6% 0.190 318.9);
Tailwind
colors: {
  custom: {
    50: '#c684d5',
    500: '#aa4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #aa4dc2;
$custom-light: #c684d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4dc2",
  "rgb": {
    "r": 170,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 287.692,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58569,
    "c": 0.19046,
    "h": 318.9
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#AA4DC2
secondary
#A7CF9C
accent
#D94F6B
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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