#AA3196#AA3196

#AA3196 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.191 H 335.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AA3196
RGBrgb(170, 49, 150)
HSLhsl(310, 55%, 43%)
HSVhsv(310, 71%, 67%)
CMYKcmyk(0%, 71.2%, 11.8%, 33.3%)
CIE-LABlab(42.68, 59.45, -29.15)
CIE-LCHlch(42.68, 66.21, 333.88°)
OKLaboklab(53.11% 0.1736 -0.0795)
OKLCHoklch(53.11% 0.191 335.4)
XYZxyz(23.1812, 12.9467, 30.1263)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3196 #31AA45
analogous
#8131AA #AA3196 #AA315A
triadic
#AA3196 #96AA31 #3196AA
tetradic
#AA3196 #AA8131 #31AA45 #315AAA
square
#AA3196 #AA8131 #31AA45 #315AAA
split-complementary
#AA3196 #5AAA31 #31AA81
monochromatic
#4B1642 #7A236C #AA3196 #CC4DB7 #D97CCA

Accessibility & contrast

On white

5.85
#AA3196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AA3196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3196
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3196#FFFFFF#000000##FFFFFF
##AA31961.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#5B6B93
Tritanopia (blue-blind)
#B23A60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa3196;
/* rgb */ color: rgb(170, 49, 150);
/* oklch */ color: oklch(53.1% 0.191 335.4);
Tailwind
colors: {
  custom: {
    50: '#c774b5',
    500: '#aa3196',
    950: '#000000',
  },
}
SCSS
$custom: #aa3196;
$custom-light: #c774b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3196",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 309.917,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53106,
    "c": 0.19096,
    "h": 335.4
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#AA3196
secondary
#75C282
accent
#DF6249
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA3196

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

Preview Lab → · Contrast checker → · Palette generator →

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