#AA31A3#AA31A3

#AA31A3 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.201 H 330.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AA31A3
RGBrgb(170, 49, 163)
HSLhsl(303, 55%, 43%)
HSVhsv(303, 71%, 67%)
CMYKcmyk(0%, 71.2%, 4.1%, 33.3%)
CIE-LABlab(43.34, 61.49, -35.91)
CIE-LCHlch(43.34, 71.21, 329.71°)
OKLaboklab(53.8% 0.1746 -0.099)
OKLCHoklch(53.8% 0.201 330.4)
XYZxyz(24.2866, 13.3889, 35.9484)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA31A3 #31AA38
analogous
#7431AA #AA31A3 #AA3166
triadic
#AA31A3 #A3AA31 #31A3AA
tetradic
#AA31A3 #AA7431 #31AA38 #3166AA
square
#AA31A3 #AA7431 #31AA38 #3166AA
split-complementary
#AA31A3 #66AA31 #31AA74
monochromatic
#4B1648 #7A2375 #AA31A3 #CC4DC4 #D97CD4

Accessibility & contrast

On white

5.71
#AA31A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AA31A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA31A3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA31A3#FFFFFF#000000##FFFFFF
##AA31A31.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA6
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#B04067
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa31a3;
/* rgb */ color: rgb(170, 49, 163);
/* oklch */ color: oklch(53.8% 0.201 330.4);
Tailwind
colors: {
  custom: {
    50: '#c775bf',
    500: '#aa31a3',
    950: '#000000',
  },
}
SCSS
$custom: #aa31a3;
$custom-light: #c775bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa31a3",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 303.471,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.20067,
    "h": 330.4
  },
  "luminance": 0.13387
}

Semantic roles & 50–950 ramp

primary
#AA31A3
secondary
#75C279
accent
#DF5249
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA31A3

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

Preview Lab → · Contrast checker → · Palette generator →

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