#AA45A3#AA45A3

#AA45A3 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.174 H 330.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AA45A3
RGBrgb(170, 69, 163)
HSLhsl(304, 42%, 47%)
HSVhsv(304, 59%, 67%)
CMYKcmyk(0%, 59.4%, 4.1%, 33.3%)
CIE-LABlab(46.24, 53.42, -31.35)
CIE-LCHlch(46.24, 61.94, 329.59°)
OKLaboklab(55.9% 0.1514 -0.086)
OKLCHoklch(55.9% 0.174 330.4)
XYZxyz(25.3164, 15.4484, 36.2916)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45A3 #45AA4C
analogous
#7E45AA #AA45A3 #AA4571
triadic
#AA45A3 #A3AA45 #45A3AA
tetradic
#AA45A3 #AA7E45 #45AA4C #4571AA
square
#AA45A3 #AA7E45 #45AA4C #4571AA
split-complementary
#AA45A3 #71AA45 #45AA7E
monochromatic
#532250 #7E3379 #AA45A3 #C26ABC #D495D0

Accessibility & contrast

On white

5.14
#AA45A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AA45A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45A3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45A3#FFFFFF#000000##FFFFFF
##AA45A31.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A6
Deuteranopia (green-blind)
#5F73A0
Tritanopia (blue-blind)
#B04F6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #aa45a3;
/* rgb */ color: rgb(170, 69, 163);
/* oklch */ color: oklch(55.9% 0.174 330.4);
Tailwind
colors: {
  custom: {
    50: '#c67fbe',
    500: '#aa45a3',
    950: '#000000',
  },
}
SCSS
$custom: #aa45a3;
$custom-light: #c67fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45a3",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 304.158,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55899,
    "c": 0.17411,
    "h": 330.4
  },
  "luminance": 0.15447
}

Semantic roles & 50–950 ramp

primary
#AA45A3
secondary
#8BC08F
accent
#D25E56
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA45A3

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

Preview Lab → · Contrast checker → · Palette generator →

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