#AA399F#AA399F

#AA399F is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.3% C 0.188 H 331.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AA399F
RGBrgb(170, 57, 159)
HSLhsl(306, 50%, 45%)
HSVhsv(306, 66%, 67%)
CMYKcmyk(0%, 66.5%, 6.5%, 33.3%)
CIE-LABlab(44.20, 57.85, -32.17)
CIE-LCHlch(44.20, 66.20, 330.92°)
OKLaboklab(54.35% 0.1657 -0.0883)
OKLCHoklch(54.35% 0.188 331.9)
XYZxyz(24.2987, 13.9774, 34.2123)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA399F #39AA44
analogous
#7D39AA #AA399F #AA3966
triadic
#AA399F #9FAA39 #399FAA
tetradic
#AA399F #AA7D39 #39AA44 #3966AA
square
#AA399F #AA7D39 #39AA44 #3966AA
split-complementary
#AA399F #66AA39 #39AA7D
monochromatic
#4E1A49 #7C2A74 #AA399F #C759BD #D787CF

Accessibility & contrast

On white

5.53
#AA399F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AA399F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA399F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA399F#FFFFFF#000000##FFFFFF
##AA399F1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#5B6E9C
Tritanopia (blue-blind)
#B14467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa399f;
/* rgb */ color: rgb(170, 57, 159);
/* oklch */ color: oklch(54.3% 0.188 331.9);
Tailwind
colors: {
  custom: {
    50: '#c678bc',
    500: '#aa399f',
    950: '#000000',
  },
}
SCSS
$custom: #aa399f;
$custom-light: #c678bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa399f",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 159
  },
  "hsl": {
    "h": 305.841,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54349,
    "c": 0.18771,
    "h": 331.9
  },
  "luminance": 0.13976
}

Semantic roles & 50–950 ramp

primary
#AA399F
secondary
#7EC185
accent
#D95C4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA399F

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

Preview Lab → · Contrast checker → · Palette generator →

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