#AA399B#AA399B

#AA399B is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.185 H 333.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AA399B
RGBrgb(170, 57, 155)
HSLhsl(308, 50%, 45%)
HSVhsv(308, 66%, 67%)
CMYKcmyk(0%, 66.5%, 8.8%, 33.3%)
CIE-LABlab(44.00, 57.20, -30.09)
CIE-LCHlch(44.00, 64.63, 332.26°)
OKLaboklab(54.14% 0.1653 -0.0823)
OKLCHoklch(54.14% 0.185 333.5)
XYZxyz(23.9572, 13.8408, 32.4137)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA399B #39AA48
analogous
#8139AA #AA399B #AA3962
triadic
#AA399B #9BAA39 #399BAA
tetradic
#AA399B #AA8139 #39AA48 #3962AA
square
#AA399B #AA8139 #39AA48 #3962AA
split-complementary
#AA399B #62AA39 #39AA81
monochromatic
#4E1A47 #7C2A71 #AA399B #C759B9 #D787CC

Accessibility & contrast

On white

5.57
#AA399B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AA399B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA399B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA399B#FFFFFF#000000##FFFFFF
##AA399B1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365E9E
Deuteranopia (green-blind)
#5C6E98
Tritanopia (blue-blind)
#B24265
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa399b;
/* rgb */ color: rgb(170, 57, 155);
/* oklch */ color: oklch(54.1% 0.185 333.5);
Tailwind
colors: {
  custom: {
    50: '#c678b9',
    500: '#aa399b',
    950: '#000000',
  },
}
SCSS
$custom: #aa399b;
$custom-light: #c678b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa399b",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 307.965,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.18461,
    "h": 333.5
  },
  "luminance": 0.13839
}

Semantic roles & 50–950 ramp

primary
#AA399B
secondary
#7EC187
accent
#D9614E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AA399B

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

Preview Lab → · Contrast checker → · Palette generator →

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