#AA31A0#AA31A0

#AA31A0 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.198 H 331.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AA31A0
RGBrgb(170, 49, 160)
HSLhsl(305, 55%, 43%)
HSVhsv(305, 71%, 67%)
CMYKcmyk(0%, 71.2%, 5.9%, 33.3%)
CIE-LABlab(43.19, 61.01, -34.37)
CIE-LCHlch(43.19, 70.02, 330.61°)
OKLaboklab(53.63% 0.1744 -0.0945)
OKLCHoklch(53.63% 0.198 331.5)
XYZxyz(24.0210, 13.2826, 34.5495)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA31A0 #31AA3B
analogous
#7831AA #AA31A0 #AA3163
triadic
#AA31A0 #A0AA31 #31A0AA
tetradic
#AA31A0 #AA7831 #31AA3B #3163AA
square
#AA31A0 #AA7831 #31AA3B #3163AA
split-complementary
#AA31A0 #63AA31 #31AA78
monochromatic
#4B1647 #7A2373 #AA31A0 #CC4DC1 #D97CD2

Accessibility & contrast

On white

5.74
#AA31A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AA31A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA31A0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA31A0#FFFFFF#000000##FFFFFF
##AA31A01.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA3
Deuteranopia (green-blind)
#566C9D
Tritanopia (blue-blind)
#B13F65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa31a0;
/* rgb */ color: rgb(170, 49, 160);
/* oklch */ color: oklch(53.6% 0.198 331.5);
Tailwind
colors: {
  custom: {
    50: '#c775bc',
    500: '#aa31a0',
    950: '#000000',
  },
}
SCSS
$custom: #aa31a0;
$custom-light: #c775bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa31a0",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 160
  },
  "hsl": {
    "h": 304.959,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.19839,
    "h": 331.5
  },
  "luminance": 0.13281
}

Semantic roles & 50–950 ramp

primary
#AA31A0
secondary
#75C27B
accent
#DF5649
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA31A0

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

Preview Lab → · Contrast checker → · Palette generator →

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