#AA31AE#AA31AE

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

Color values

HEX#AA31AE
RGBrgb(170, 49, 174)
HSLhsl(298, 56%, 44%)
HSVhsv(298, 72%, 68%)
CMYKcmyk(2.3%, 71.8%, 0%, 31.8%)
CIE-LABlab(43.95, 63.32, -41.50)
CIE-LCHlch(43.95, 75.70, 326.76°)
OKLaboklab(54.42% 0.1747 -0.1152)
OKLCHoklch(54.42% 0.209 326.6)
XYZxyz(25.3154, 13.8004, 41.3666)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA31AE #35AE31
analogous
#6B31AE #AA31AE #AE3173
triadic
#AA31AE #AEAA31 #31AEAA
tetradic
#AA31AE #AE6B31 #35AE31 #3173AE
square
#AA31AE #AE6B31 #35AE31 #3173AE
split-complementary
#AA31AE #73AE31 #31AE6B
monochromatic
#4D164E #7B247E #AA31AE #C94FCD #D87FDB

Accessibility & contrast

On white

5.59
#AA31AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#AA31AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA31AE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA31AE#FFFFFF#000000##FFFFFF
##AA31AE1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145EB1
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#AF456D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa31ae;
/* rgb */ color: rgb(170, 49, 174);
/* oklch */ color: oklch(54.4% 0.209 326.6);
Tailwind
colors: {
  custom: {
    50: '#c775c7',
    500: '#aa31ae',
    950: '#000000',
  },
}
SCSS
$custom: #aa31ae;
$custom-light: #c775c7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa31ae",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 298.08,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.20928,
    "h": 326.6
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

primary
#AA31AE
secondary
#7AC477
accent
#DF484D
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AA31AE

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

Preview Lab → · Contrast checker → · Palette generator →

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