#AA4DB1#AA4DB1

#AA4DB1 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.6% C 0.174 H 324.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AA4DB1
RGBrgb(170, 77, 177)
HSLhsl(296, 39%, 50%)
HSVhsv(296, 56%, 69%)
CMYKcmyk(4%, 56.5%, 0%, 30.6%)
CIE-LABlab(48.30, 52.22, -36.38)
CIE-LCHlch(48.30, 63.64, 325.13°)
OKLaboklab(57.63% 0.1424 -0.1006)
OKLCHoklch(57.63% 0.174 324.8)
XYZxyz(27.1666, 17.0296, 43.4425)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4DB1 #54B14D
analogous
#784DB1 #AA4DB1 #B14D86
triadic
#AA4DB1 #B1AA4D #4DB1AA
tetradic
#AA4DB1 #B1784D #54B14D #4D86B1
square
#AA4DB1 #B1784D #54B14D #4D86B1
split-complementary
#AA4DB1 #86B14D #4DB178
monochromatic
#58285C #813A86 #AA4DB1 #BF77C4 #D3A2D6

Accessibility & contrast

On white

4.77
#AA4DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AA4DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4DB1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4DB1#FFFFFF#000000##FFFFFF
##AA4DB11.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB4
Deuteranopia (green-blind)
#5E77AE
Tritanopia (blue-blind)
#AD5A78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #aa4db1;
/* rgb */ color: rgb(170, 77, 177);
/* oklch */ color: oklch(57.6% 0.174 324.8);
Tailwind
colors: {
  custom: {
    50: '#c684c8',
    500: '#aa4db1',
    950: '#000000',
  },
}
SCSS
$custom: #aa4db1;
$custom-light: #c684c8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4db1",
  "rgb": {
    "r": 170,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 295.8,
    "s": 39.37,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.17436,
    "h": 324.8
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#AA4DB1
secondary
#99C496
accent
#CF5961
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA4DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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