#AA45B7#AA45B7

#AA45B7 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 57.0% C 0.192 H 323.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AA45B7
RGBrgb(170, 69, 183)
HSLhsl(293, 45%, 49%)
HSVhsv(293, 62%, 72%)
CMYKcmyk(7.1%, 62.3%, 0%, 28.2%)
CIE-LABlab(47.27, 57.01, -41.52)
CIE-LCHlch(47.27, 70.53, 323.93°)
OKLaboklab(56.98% 0.153 -0.1154)
OKLCHoklch(56.98% 0.192 323)
XYZxyz(27.2521, 16.2227, 46.4864)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45B7 #52B745
analogous
#7145B7 #AA45B7 #B7458B
triadic
#AA45B7 #B7AA45 #45B7AA
tetradic
#AA45B7 #B77145 #52B745 #458BB7
square
#AA45B7 #B77145 #52B745 #458BB7
split-complementary
#AA45B7 #8BB745 #45B771
monochromatic
#57235E #81348B #AA45B7 #BF70C9 #D39DDA

Accessibility & contrast

On white

4.95
#AA45B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AA45B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45B7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45B7#FFFFFF#000000##FFFFFF
##AA45B71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68BA
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#AD5678
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa45b7;
/* rgb */ color: rgb(170, 69, 183);
/* oklch */ color: oklch(57.0% 0.192 323.0);
Tailwind
colors: {
  custom: {
    50: '#c67fcd',
    500: '#aa45b7',
    950: '#000000',
  },
}
SCSS
$custom: #aa45b7;
$custom-light: #c67fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45b7",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 293.158,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56977,
    "c": 0.19162,
    "h": 323
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#AA45B7
secondary
#98C692
accent
#D55362
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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