#AA339B#AA339B

#AA339B is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.5% C 0.192 H 333.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AA339B
RGBrgb(170, 51, 155)
HSLhsl(308, 54%, 43%)
HSVhsv(308, 70%, 67%)
CMYKcmyk(0%, 70%, 8.8%, 33.3%)
CIE-LABlab(43.19, 59.50, -31.37)
CIE-LCHlch(43.19, 67.26, 332.20°)
OKLaboklab(53.55% 0.172 -0.0859)
OKLCHoklch(53.55% 0.192 333.5)
XYZxyz(23.6779, 13.2822, 32.3206)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA339B #33AA42
analogous
#7D33AA #AA339B #AA335F
triadic
#AA339B #9BAA33 #339BAA
tetradic
#AA339B #AA7D33 #33AA42 #335FAA
square
#AA339B #AA7D33 #33AA42 #335FAA
split-complementary
#AA339B #5FAA33 #33AA7D
monochromatic
#4C1745 #7B2570 #AA339B #CA50BB #D97FCD

Accessibility & contrast

On white

5.74
#AA339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AA339B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA339B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA339B#FFFFFF#000000##FFFFFF
##AA339B1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9E
Deuteranopia (green-blind)
#5A6C98
Tritanopia (blue-blind)
#B23E63
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa339b;
/* rgb */ color: rgb(170, 51, 155);
/* oklch */ color: oklch(53.5% 0.192 333.5);
Tailwind
colors: {
  custom: {
    50: '#c775b9',
    500: '#aa339b',
    950: '#000000',
  },
}
SCSS
$custom: #aa339b;
$custom-light: #c775b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa339b",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 307.563,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.19223,
    "h": 333.5
  },
  "luminance": 0.1328
}

Semantic roles & 50–950 ramp

primary
#AA339B
secondary
#77C281
accent
#DD5D4B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA339B

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

Preview Lab → · Contrast checker → · Palette generator →

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