#AA399E#AA399E

#AA399E is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.187 H 332.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AA399E
RGBrgb(170, 57, 158)
HSLhsl(306, 50%, 45%)
HSVhsv(306, 66%, 67%)
CMYKcmyk(0%, 66.5%, 7.1%, 33.3%)
CIE-LABlab(44.15, 57.69, -31.65)
CIE-LCHlch(44.15, 65.80, 331.25°)
OKLaboklab(54.3% 0.1656 -0.0868)
OKLCHoklch(54.3% 0.187 332.3)
XYZxyz(24.2123, 13.9428, 33.7571)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA399E #39AA45
analogous
#7E39AA #AA399E #AA3965
triadic
#AA399E #9EAA39 #399EAA
tetradic
#AA399E #AA7E39 #39AA45 #3965AA
square
#AA399E #AA7E39 #39AA45 #3965AA
split-complementary
#AA399E #65AA39 #39AA7E
monochromatic
#4E1A49 #7C2A73 #AA399E #C759BC #D787CE

Accessibility & contrast

On white

5.54
#AA399E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AA399E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA399E
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA399E#FFFFFF#000000##FFFFFF
##AA399E1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA1
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#B14466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa399e;
/* rgb */ color: rgb(170, 57, 158);
/* oklch */ color: oklch(54.3% 0.187 332.3);
Tailwind
colors: {
  custom: {
    50: '#c678bb',
    500: '#aa399e',
    950: '#000000',
  },
}
SCSS
$custom: #aa399e;
$custom-light: #c678bb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa399e",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 158
  },
  "hsl": {
    "h": 306.372,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.18692,
    "h": 332.3
  },
  "luminance": 0.13941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA399E

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

Preview Lab → · Contrast checker → · Palette generator →

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