#AA3397#AA3397

#AA3397 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.189 H 335.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AA3397
RGBrgb(170, 51, 151)
HSLhsl(310, 54%, 43%)
HSVhsv(310, 70%, 67%)
CMYKcmyk(0%, 70%, 11.2%, 33.3%)
CIE-LABlab(42.99, 58.88, -29.27)
CIE-LCHlch(42.99, 65.75, 333.57°)
OKLaboklab(53.34% 0.1716 -0.0799)
OKLCHoklch(53.34% 0.189 335)
XYZxyz(23.3476, 13.1501, 30.5807)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3397 #33AA46
analogous
#8133AA #AA3397 #AA335B
triadic
#AA3397 #97AA33 #3397AA
tetradic
#AA3397 #AA8133 #33AA46 #335BAA
square
#AA3397 #AA8133 #33AA46 #335BAA
split-complementary
#AA3397 #5BAA33 #33AA81
monochromatic
#4C1743 #7B256D #AA3397 #CA50B7 #D97FCA

Accessibility & contrast

On white

5.79
#AA3397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AA3397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3397
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3397#FFFFFF#000000##FFFFFF
##AA33971.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#5B6C94
Tritanopia (blue-blind)
#B23C61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa3397;
/* rgb */ color: rgb(170, 51, 151);
/* oklch */ color: oklch(53.3% 0.189 335.0);
Tailwind
colors: {
  custom: {
    50: '#c775b6',
    500: '#aa3397',
    950: '#000000',
  },
}
SCSS
$custom: #aa3397;
$custom-light: #c775b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3397",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 309.58,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53343,
    "c": 0.18927,
    "h": 335
  },
  "luminance": 0.13148
}

Semantic roles & 50–950 ramp

primary
#AA3397
secondary
#77C283
accent
#DD624B
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA3397

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

Preview Lab → · Contrast checker → · Palette generator →

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