#AA4DB7#AA4DB7

#AA4DB7 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.180 H 322.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#AA4DB7
RGBrgb(170, 77, 183)
HSLhsl(293, 42%, 51%)
HSVhsv(293, 58%, 72%)
CMYKcmyk(7.1%, 57.9%, 0%, 28.2%)
CIE-LABlab(48.60, 53.35, -39.40)
CIE-LCHlch(48.60, 66.32, 323.55°)
OKLaboklab(57.95% 0.143 -0.1093)
OKLCHoklch(57.95% 0.18 322.6)
XYZxyz(27.7778, 17.2741, 46.6616)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4DB7 #5AB74D
analogous
#754DB7 #AA4DB7 #B74D8F
triadic
#AA4DB7 #B7AA4D #4DB7AA
tetradic
#AA4DB7 #B7754D #5AB74D #4D8FB7
square
#AA4DB7 #B7754D #5AB74D #4D8FB7
split-complementary
#AA4DB7 #8FB74D #4DB775
monochromatic
#5B2862 #83398E #AA4DB7 #BF79C9 #D4A4DA

Accessibility & contrast

On white

4.71
#AA4DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#AA4DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4DB7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4DB7#FFFFFF#000000##FFFFFF
##AA4DB71.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6CBA
Deuteranopia (green-blind)
#5B77B4
Tritanopia (blue-blind)
#AC5C7B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4db7;
/* rgb */ color: rgb(170, 77, 183);
/* oklch */ color: oklch(58.0% 0.180 322.6);
Tailwind
colors: {
  custom: {
    50: '#c684cd',
    500: '#aa4db7',
    950: '#000000',
  },
}
SCSS
$custom: #aa4db7;
$custom-light: #c684cd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4db7",
  "rgb": {
    "r": 170,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 292.642,
    "s": 42.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5795,
    "c": 0.17996,
    "h": 322.6
  },
  "luminance": 0.17273
}

Semantic roles & 50–950 ramp

primary
#AA4DB7
secondary
#9EC798
accent
#D25665
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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