#AA45B9#AA45B9

#AA45B9 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.193 H 322.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AA45B9
RGBrgb(170, 69, 185)
HSLhsl(292, 46%, 50%)
HSVhsv(292, 63%, 73%)
CMYKcmyk(8.1%, 62.7%, 0%, 27.5%)
CIE-LABlab(47.37, 57.38, -42.52)
CIE-LCHlch(47.37, 71.42, 323.47°)
OKLaboklab(57.09% 0.153 -0.1183)
OKLCHoklch(57.09% 0.193 322.3)
XYZxyz(27.4617, 16.3065, 47.5905)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45B9 #54B945
analogous
#7045B9 #AA45B9 #B9458E
triadic
#AA45B9 #B9AA45 #45B9AA
tetradic
#AA45B9 #B97045 #54B945 #458EB9
square
#AA45B9 #B97045 #54B945 #458EB9
split-complementary
#AA45B9 #8EB945 #45B970
monochromatic
#582460 #81348C #AA45B9 #BF71CA #D39EDB

Accessibility & contrast

On white

4.93
#AA45B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AA45B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45B9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45B9#FFFFFF#000000##FFFFFF
##AA45B91.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#AC5779
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa45b9;
/* rgb */ color: rgb(170, 69, 185);
/* oklch */ color: oklch(57.1% 0.193 322.3);
Tailwind
colors: {
  custom: {
    50: '#c67fce',
    500: '#aa45b9',
    950: '#000000',
  },
}
SCSS
$custom: #aa45b9;
$custom-light: #c67fce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45b9",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 292.241,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57091,
    "c": 0.19343,
    "h": 322.3
  },
  "luminance": 0.16305
}

Semantic roles & 50–950 ramp

primary
#AA45B9
secondary
#99C793
accent
#D55263
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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