#AA39CB#AA39CB

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

Color values

HEX#AA39CB
RGBrgb(170, 57, 203)
HSLhsl(286, 58%, 51%)
HSVhsv(286, 72%, 80%)
CMYKcmyk(16.3%, 71.9%, 0%, 20.4%)
CIE-LABlab(46.69, 65.68, -54.05)
CIE-LCHlch(46.69, 85.06, 320.55°)
OKLaboklab(56.94% 0.1654 -0.1519)
OKLCHoklch(56.94% 0.225 317.4)
XYZxyz(28.8186, 15.7853, 58.0172)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA39CB #5ACB39
analogous
#6139CB #AA39CB #CB39A3
triadic
#AA39CB #CBAA39 #39CBAA
tetradic
#AA39CB #CB6139 #5ACB39 #39A3CB
square
#AA39CB #CB6139 #5ACB39 #39A3CB
split-complementary
#AA39CB #A3CB39 #39CB61
monochromatic
#5B1D6D #83299D #AA39CB #BF69D8 #D49AE4

Accessibility & contrast

On white

5.05
#AA39CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AA39CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA39CB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA39CB#FFFFFF#000000##FFFFFF
##AA39CB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#A9577F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa39cb;
/* rgb */ color: rgb(170, 57, 203);
/* oklch */ color: oklch(56.9% 0.225 317.4);
Tailwind
colors: {
  custom: {
    50: '#c77adb',
    500: '#aa39cb',
    950: '#000000',
  },
}
SCSS
$custom: #aa39cb;
$custom-light: #c77adb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa39cb",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 286.438,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56941,
    "c": 0.2246,
    "h": 317.4
  },
  "luminance": 0.15784
}

Semantic roles & 50–950 ramp

primary
#AA39CB
secondary
#9ED090
accent
#E24669
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AA39CB

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

Preview Lab → · Contrast checker → · Palette generator →

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