#AA45A2#AA45A2

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

Color values

HEX#AA45A2
RGBrgb(170, 69, 162)
HSLhsl(305, 42%, 47%)
HSVhsv(305, 59%, 67%)
CMYKcmyk(0%, 59.4%, 4.7%, 33.3%)
CIE-LABlab(46.19, 53.25, -30.84)
CIE-LCHlch(46.19, 61.53, 329.92°)
OKLaboklab(55.85% 0.1513 -0.0845)
OKLCHoklch(55.85% 0.173 330.8)
XYZxyz(25.2271, 15.4127, 35.8216)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45A2 #45AA4D
analogous
#7F45AA #AA45A2 #AA4570
triadic
#AA45A2 #A2AA45 #45A2AA
tetradic
#AA45A2 #AA7F45 #45AA4D #4570AA
square
#AA45A2 #AA7F45 #45AA4D #4570AA
split-complementary
#AA45A2 #70AA45 #45AA7F
monochromatic
#53224F #7E3379 #AA45A2 #C26ABB #D495CF

Accessibility & contrast

On white

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

On black

4.08
#AA45A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AA45A2#FFFFFF#000000##FFFFFF
##AA45A21.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#60729F
Tritanopia (blue-blind)
#B04F6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #aa45a2;
/* rgb */ color: rgb(170, 69, 162);
/* oklch */ color: oklch(55.8% 0.173 330.8);
Tailwind
colors: {
  custom: {
    50: '#c67fbe',
    500: '#aa45a2',
    950: '#000000',
  },
}
SCSS
$custom: #aa45a2;
$custom-light: #c67fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45a2",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 304.752,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55849,
    "c": 0.17327,
    "h": 330.8
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#AA45A2
secondary
#8BC08F
accent
#D26056
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AA45A2

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

Preview Lab → · Contrast checker → · Palette generator →

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