#AA339C#AA339C

#AA339C is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.193 H 333.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AA339C
RGBrgb(170, 51, 156)
HSLhsl(307, 54%, 43%)
HSVhsv(307, 70%, 67%)
CMYKcmyk(0%, 70%, 8.2%, 33.3%)
CIE-LABlab(43.24, 59.66, -31.89)
CIE-LCHlch(43.24, 67.65, 331.87°)
OKLaboklab(53.6% 0.1721 -0.0874)
OKLCHoklch(53.6% 0.193 333.1)
XYZxyz(23.7623, 13.3159, 32.7648)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA339C #33AA41
analogous
#7C33AA #AA339C #AA3360
triadic
#AA339C #9CAA33 #339CAA
tetradic
#AA339C #AA7C33 #33AA41 #3360AA
square
#AA339C #AA7C33 #33AA41 #3360AA
split-complementary
#AA339C #60AA33 #33AA7C
monochromatic
#4C1746 #7B2571 #AA339C #CA50BC #D97FCE

Accessibility & contrast

On white

5.73
#AA339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA339C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA339C#FFFFFF#000000##FFFFFF
##AA339C1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9F
Deuteranopia (green-blind)
#596C99
Tritanopia (blue-blind)
#B23E63
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa339c;
/* rgb */ color: rgb(170, 51, 156);
/* oklch */ color: oklch(53.6% 0.193 333.1);
Tailwind
colors: {
  custom: {
    50: '#c775b9',
    500: '#aa339c',
    950: '#000000',
  },
}
SCSS
$custom: #aa339c;
$custom-light: #c775b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa339c",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 307.059,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53602,
    "c": 0.19298,
    "h": 333.1
  },
  "luminance": 0.13314
}

Semantic roles & 50–950 ramp

primary
#AA339C
secondary
#77C280
accent
#DD5C4B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA339C

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

Preview Lab → · Contrast checker → · Palette generator →

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