#AA39CC#AA39CC

#AA39CC is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.225 H 317.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AA39CC
RGBrgb(170, 57, 204)
HSLhsl(286, 59%, 51%)
HSVhsv(286, 72%, 80%)
CMYKcmyk(16.7%, 72.1%, 0%, 20%)
CIE-LABlab(46.75, 65.87, -54.53)
CIE-LCHlch(46.75, 85.51, 320.38°)
OKLaboklab(57.01% 0.1653 -0.1533)
OKLCHoklch(57.01% 0.225 317.2)
XYZxyz(28.9382, 15.8332, 58.6468)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA39CC #5BCC39
analogous
#6039CC #AA39CC #CC39A5
triadic
#AA39CC #CCAA39 #39CCAA
tetradic
#AA39CC #CC6039 #5BCC39 #39A5CC
square
#AA39CC #CC6039 #5BCC39 #39A5CC
split-complementary
#AA39CC #A5CC39 #39CC60
monochromatic
#5B1C6E #84299F #AA39CC #BF6AD9 #D49AE5

Accessibility & contrast

On white

5.04
#AA39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AA39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA39CC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA39CC#FFFFFF#000000##FFFFFF
##AA39CC1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#A8577F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa39cc;
/* rgb */ color: rgb(170, 57, 204);
/* oklch */ color: oklch(57.0% 0.225 317.2);
Tailwind
colors: {
  custom: {
    50: '#c77adc',
    500: '#aa39cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa39cc;
$custom-light: #c77adc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa39cc",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 286.122,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.22548,
    "h": 317.2
  },
  "luminance": 0.15832
}

Semantic roles & 50–950 ramp

primary
#AA39CC
secondary
#9FD190
accent
#E2466A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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