#AA45B6#AA45B6

#AA45B6 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.9% C 0.191 H 323.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AA45B6
RGBrgb(170, 69, 182)
HSLhsl(294, 45%, 49%)
HSVhsv(294, 62%, 71%)
CMYKcmyk(6.6%, 62.1%, 0%, 28.6%)
CIE-LABlab(47.21, 56.82, -41.02)
CIE-LCHlch(47.21, 70.08, 324.17°)
OKLaboklab(56.92% 0.1529 -0.1139)
OKLCHoklch(56.92% 0.191 323.3)
XYZxyz(27.1484, 16.1812, 45.9402)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45B6 #51B645
analogous
#7245B6 #AA45B6 #B6458A
triadic
#AA45B6 #B6AA45 #45B6AA
tetradic
#AA45B6 #B67245 #51B645 #458AB6
square
#AA45B6 #B67245 #51B645 #458AB6
split-complementary
#AA45B6 #8AB645 #45B672
monochromatic
#57235D #81348A #AA45B6 #BF70C9 #D39CD9

Accessibility & contrast

On white

4.96
#AA45B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA45B6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45B6#FFFFFF#000000##FFFFFF
##AA45B61.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B9
Deuteranopia (green-blind)
#5674B3
Tritanopia (blue-blind)
#AD5677
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa45b6;
/* rgb */ color: rgb(170, 69, 182);
/* oklch */ color: oklch(56.9% 0.191 323.3);
Tailwind
colors: {
  custom: {
    50: '#c67fcc',
    500: '#aa45b6',
    950: '#000000',
  },
}
SCSS
$custom: #aa45b6;
$custom-light: #c67fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45b6",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 293.628,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5692,
    "c": 0.19071,
    "h": 323.3
  },
  "luminance": 0.1618
}

Semantic roles & 50–950 ramp

primary
#AA45B6
secondary
#97C691
accent
#D55361
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA45B6

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

Preview Lab → · Contrast checker → · Palette generator →

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