#AA339E#AA339E

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

Color values

HEX#AA339E
RGBrgb(170, 51, 158)
HSLhsl(306, 54%, 43%)
HSVhsv(306, 70%, 67%)
CMYKcmyk(0%, 70%, 7.1%, 33.3%)
CIE-LABlab(43.34, 59.97, -32.93)
CIE-LCHlch(43.34, 68.42, 331.23°)
OKLaboklab(53.71% 0.1722 -0.0904)
OKLCHoklch(53.71% 0.195 332.3)
XYZxyz(23.9330, 13.3842, 33.6640)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA339E #33AA3F
analogous
#7A33AA #AA339E #AA3363
triadic
#AA339E #9EAA33 #339EAA
tetradic
#AA339E #AA7A33 #33AA3F #3363AA
square
#AA339E #AA7A33 #33AA3F #3363AA
split-complementary
#AA339E #63AA33 #33AA7A
monochromatic
#4C1746 #7B2572 #AA339E #CA50BE #D97FD0

Accessibility & contrast

On white

5.71
#AA339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA339E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA339E#FFFFFF#000000##FFFFFF
##AA339E1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5CA1
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#B13F64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa339e;
/* rgb */ color: rgb(170, 51, 158);
/* oklch */ color: oklch(53.7% 0.195 332.3);
Tailwind
colors: {
  custom: {
    50: '#c775bb',
    500: '#aa339e',
    950: '#000000',
  },
}
SCSS
$custom: #aa339e;
$custom-light: #c775bb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa339e",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 306.05,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.1945,
    "h": 332.3
  },
  "luminance": 0.13382
}

Semantic roles & 50–950 ramp

primary
#AA339E
secondary
#77C27F
accent
#DD594B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #AA339E

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

Preview Lab → · Contrast checker → · Palette generator →

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