#AA39B1#AA39B1

#AA39B1 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.202 H 325.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AA39B1
RGBrgb(170, 57, 177)
HSLhsl(297, 51%, 46%)
HSVhsv(297, 68%, 69%)
CMYKcmyk(4%, 67.8%, 0%, 30.6%)
CIE-LABlab(45.15, 60.90, -41.36)
CIE-LCHlch(45.15, 73.62, 325.82°)
OKLaboklab(55.34% 0.1666 -0.1148)
OKLCHoklch(55.34% 0.202 325.4)
XYZxyz(25.9759, 14.6483, 43.0457)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA39B1 #40B139
analogous
#6E39B1 #AA39B1 #B1397C
triadic
#AA39B1 #B1AA39 #39B1AA
tetradic
#AA39B1 #B16E39 #40B139 #397CB1
square
#AA39B1 #B16E39 #40B139 #397CB1
split-complementary
#AA39B1 #7CB139 #39B16E
monochromatic
#511B54 #7E2A83 #AA39B1 #C45DCB #D58BDA

Accessibility & contrast

On white

5.34
#AA39B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AA39B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA39B1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA39B1#FFFFFF#000000##FFFFFF
##AA39B11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2062B4
Deuteranopia (green-blind)
#5170AE
Tritanopia (blue-blind)
#AE4C71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #aa39b1;
/* rgb */ color: rgb(170, 57, 177);
/* oklch */ color: oklch(55.3% 0.202 325.4);
Tailwind
colors: {
  custom: {
    50: '#c779c9',
    500: '#aa39b1',
    950: '#000000',
  },
}
SCSS
$custom: #aa39b1;
$custom-light: #c779c9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa39b1",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 296.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55341,
    "c": 0.20231,
    "h": 325.4
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#AA39B1
secondary
#86C482
accent
#DB4D55
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA39B1

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

Preview Lab → · Contrast checker → · Palette generator →

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