#AA31B0#AA31B0

#AA31B0 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.211 H 325.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AA31B0
RGBrgb(170, 49, 176)
HSLhsl(297, 56%, 44%)
HSVhsv(297, 72%, 69%)
CMYKcmyk(3.4%, 72.2%, 0%, 31%)
CIE-LABlab(44.06, 63.66, -42.50)
CIE-LCHlch(44.06, 76.54, 326.27°)
OKLaboklab(54.54% 0.1747 -0.1181)
OKLCHoklch(54.54% 0.211 325.9)
XYZxyz(25.5118, 13.8790, 42.4011)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA31B0 #37B031
analogous
#6B31B0 #AA31B0 #B03177
triadic
#AA31B0 #B0AA31 #31B0AA
tetradic
#AA31B0 #B06B31 #37B031 #3177B0
square
#AA31B0 #B06B31 #37B031 #3177B0
split-complementary
#AA31B0 #77B031 #31B06B
monochromatic
#4E1650 #7C2480 #AA31B0 #C850CE #D780DC

Accessibility & contrast

On white

5.56
#AA31B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AA31B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA31B0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA31B0#FFFFFF#000000##FFFFFF
##AA31B01.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5FB4
Deuteranopia (green-blind)
#4D6DAD
Tritanopia (blue-blind)
#AE466E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa31b0;
/* rgb */ color: rgb(170, 49, 176);
/* oklch */ color: oklch(54.5% 0.211 325.9);
Tailwind
colors: {
  custom: {
    50: '#c775c8',
    500: '#aa31b0',
    950: '#000000',
  },
}
SCSS
$custom: #aa31b0;
$custom-light: #c775c8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa31b0",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 297.165,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.21088,
    "h": 325.9
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#AA31B0
secondary
#7CC578
accent
#E0484F
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #AA31B0

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

Preview Lab → · Contrast checker → · Palette generator →

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