#AA3297#AA3297

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

Color values

HEX#AA3297
RGBrgb(170, 50, 151)
HSLhsl(310, 55%, 43%)
HSVhsv(310, 71%, 67%)
CMYKcmyk(0%, 70.6%, 11.2%, 33.3%)
CIE-LABlab(42.86, 59.24, -29.47)
CIE-LCHlch(42.86, 66.17, 333.55°)
OKLaboklab(53.25% 0.1727 -0.0805)
OKLCHoklch(53.25% 0.19 335)
XYZxyz(23.3043, 13.0636, 30.5663)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3297 #32AA45
analogous
#8132AA #AA3297 #AA325B
triadic
#AA3297 #97AA32 #3297AA
tetradic
#AA3297 #AA8132 #32AA45 #325BAA
square
#AA3297 #AA8132 #32AA45 #325BAA
split-complementary
#AA3297 #5BAA32 #32AA81
monochromatic
#4B1643 #7B246D #AA3297 #CB4EB7 #D97DCA

Accessibility & contrast

On white

5.81
#AA3297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AA3297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3297
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3297#FFFFFF#000000##FFFFFF
##AA32971.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa3297;
/* rgb */ color: rgb(170, 50, 151);
/* oklch */ color: oklch(53.3% 0.190 335.0);
Tailwind
colors: {
  custom: {
    50: '#c775b6',
    500: '#aa3297',
    950: '#000000',
  },
}
SCSS
$custom: #aa3297;
$custom-light: #c775b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3297",
  "rgb": {
    "r": 170,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 309.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5325,
    "c": 0.19049,
    "h": 335
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#AA3297
secondary
#76C282
accent
#DE614A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA3297

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

Preview Lab → · Contrast checker → · Palette generator →

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