#AA339A#AA339A

#AA339A is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.191 H 333.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AA339A
RGBrgb(170, 51, 154)
HSLhsl(308, 54%, 43%)
HSVhsv(308, 70%, 67%)
CMYKcmyk(0%, 70%, 9.4%, 33.3%)
CIE-LABlab(43.14, 59.34, -30.85)
CIE-LCHlch(43.14, 66.88, 332.53°)
OKLaboklab(53.5% 0.1719 -0.0844)
OKLCHoklch(53.5% 0.191 333.8)
XYZxyz(23.5943, 13.2488, 31.8802)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA339A #33AA43
analogous
#7E33AA #AA339A #AA335E
triadic
#AA339A #9AAA33 #339AAA
tetradic
#AA339A #AA7E33 #33AA43 #335EAA
square
#AA339A #AA7E33 #33AA43 #335EAA
split-complementary
#AA339A #5EAA33 #33AA7E
monochromatic
#4C1745 #7B256F #AA339A #CA50BA #D97FCC

Accessibility & contrast

On white

5.75
#AA339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AA339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA339A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA339A#FFFFFF#000000##FFFFFF
##AA339A1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9D
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#B23D62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa339a;
/* rgb */ color: rgb(170, 51, 154);
/* oklch */ color: oklch(53.5% 0.191 333.8);
Tailwind
colors: {
  custom: {
    50: '#c775b8',
    500: '#aa339a',
    950: '#000000',
  },
}
SCSS
$custom: #aa339a;
$custom-light: #c775b8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa339a",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 308.067,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53498,
    "c": 0.19149,
    "h": 333.8
  },
  "luminance": 0.13247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA339A

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

Preview Lab → · Contrast checker → · Palette generator →

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