#AA339D#AA339D

#AA339D is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.7% C 0.194 H 332.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AA339D
RGBrgb(170, 51, 157)
HSLhsl(307, 54%, 43%)
HSVhsv(307, 70%, 67%)
CMYKcmyk(0%, 70%, 7.6%, 33.3%)
CIE-LABlab(43.29, 59.81, -32.41)
CIE-LCHlch(43.29, 68.03, 331.55°)
OKLaboklab(53.65% 0.1721 -0.0889)
OKLCHoklch(53.65% 0.194 332.7)
XYZxyz(23.8473, 13.3500, 33.2126)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA339D #33AA40
analogous
#7B33AA #AA339D #AA3361
triadic
#AA339D #9DAA33 #339DAA
tetradic
#AA339D #AA7B33 #33AA40 #3361AA
square
#AA339D #AA7B33 #33AA40 #3361AA
split-complementary
#AA339D #61AA33 #33AA7B
monochromatic
#4C1746 #7B2572 #AA339D #CA50BD #D97FCF

Accessibility & contrast

On white

5.72
#AA339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AA339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA339D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA339D#FFFFFF#000000##FFFFFF
##AA339D1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5BA0
Deuteranopia (green-blind)
#596C9A
Tritanopia (blue-blind)
#B13F64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa339d;
/* rgb */ color: rgb(170, 51, 157);
/* oklch */ color: oklch(53.7% 0.194 332.7);
Tailwind
colors: {
  custom: {
    50: '#c775ba',
    500: '#aa339d',
    950: '#000000',
  },
}
SCSS
$custom: #aa339d;
$custom-light: #c775ba;
$custom-dark: #000000;
JSON
{
  "hex": "#aa339d",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 306.555,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.19374,
    "h": 332.7
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#AA339D
secondary
#77C27F
accent
#DD5B4B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA339D

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

Preview Lab → · Contrast checker → · Palette generator →

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