#AA339F#AA339F

#AA339F is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.8% C 0.195 H 331.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AA339F
RGBrgb(170, 51, 159)
HSLhsl(306, 54%, 43%)
HSVhsv(306, 70%, 67%)
CMYKcmyk(0%, 70%, 6.5%, 33.3%)
CIE-LABlab(43.39, 60.13, -33.45)
CIE-LCHlch(43.39, 68.81, 330.91°)
OKLaboklab(53.76% 0.1723 -0.0919)
OKLCHoklch(53.76% 0.195 331.9)
XYZxyz(24.0194, 13.4188, 34.1192)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA339F #33AA3E
analogous
#7933AA #AA339F #AA3363
triadic
#AA339F #9FAA33 #339FAA
tetradic
#AA339F #AA7933 #33AA3E #3363AA
square
#AA339F #AA7933 #33AA3E #3363AA
split-complementary
#AA339F #63AA33 #33AA79
monochromatic
#4C1747 #7B2573 #AA339F #CA50BF #D97FD0

Accessibility & contrast

On white

5.70
#AA339F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AA339F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA339F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA339F#FFFFFF#000000##FFFFFF
##AA339F1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA2
Deuteranopia (green-blind)
#586C9C
Tritanopia (blue-blind)
#B13F65
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa339f;
/* rgb */ color: rgb(170, 51, 159);
/* oklch */ color: oklch(53.8% 0.195 331.9);
Tailwind
colors: {
  custom: {
    50: '#c775bc',
    500: '#aa339f',
    950: '#000000',
  },
}
SCSS
$custom: #aa339f;
$custom-light: #c775bc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa339f",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 305.546,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53762,
    "c": 0.19526,
    "h": 331.9
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#AA339F
secondary
#77C27E
accent
#DD584B
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA339F

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

Preview Lab → · Contrast checker → · Palette generator →

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