#AA31AD#AA31AD

#AA31AD is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.208 H 326.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AA31AD
RGBrgb(170, 49, 173)
HSLhsl(299, 56%, 44%)
HSVhsv(299, 72%, 68%)
CMYKcmyk(1.7%, 71.7%, 0%, 32.2%)
CIE-LABlab(43.89, 63.15, -41.00)
CIE-LCHlch(43.89, 75.29, 327.01°)
OKLaboklab(54.36% 0.1747 -0.1137)
OKLCHoklch(54.36% 0.208 326.9)
XYZxyz(25.2183, 13.7615, 40.8550)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA31AD #34AD31
analogous
#6C31AD #AA31AD #AD3172
triadic
#AA31AD #ADAA31 #31ADAA
tetradic
#AA31AD #AD6C31 #34AD31 #3172AD
square
#AA31AD #AD6C31 #34AD31 #3172AD
split-complementary
#AA31AD #72AD31 #31AD6C
monochromatic
#4C164E #7B237D #AA31AD #CA4ECD #D87EDA

Accessibility & contrast

On white

5.60
#AA31AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AA31AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA31AD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA31AD#FFFFFF#000000##FFFFFF
##AA31AD1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB0
Deuteranopia (green-blind)
#4F6DAA
Tritanopia (blue-blind)
#AF456C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa31ad;
/* rgb */ color: rgb(170, 49, 173);
/* oklch */ color: oklch(54.4% 0.208 326.9);
Tailwind
colors: {
  custom: {
    50: '#c775c6',
    500: '#aa31ad',
    950: '#000000',
  },
}
SCSS
$custom: #aa31ad;
$custom-light: #c775c6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa31ad",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 298.548,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.54365,
    "c": 0.20849,
    "h": 326.9
  },
  "luminance": 0.1376
}

Semantic roles & 50–950 ramp

primary
#AA31AD
secondary
#78C377
accent
#DF494C
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AA31AD

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

Preview Lab → · Contrast checker → · Palette generator →

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