#AA45B8#AA45B8

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

Color values

HEX#AA45B8
RGBrgb(170, 69, 184)
HSLhsl(293, 45%, 50%)
HSVhsv(293, 63%, 72%)
CMYKcmyk(7.6%, 62.5%, 0%, 27.8%)
CIE-LABlab(47.32, 57.20, -42.02)
CIE-LCHlch(47.32, 70.97, 323.70°)
OKLaboklab(57.03% 0.153 -0.1168)
OKLCHoklch(57.03% 0.193 322.6)
XYZxyz(27.3565, 16.2644, 47.0365)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45B8 #53B845
analogous
#7145B8 #AA45B8 #B8458C
triadic
#AA45B8 #B8AA45 #45B8AA
tetradic
#AA45B8 #B87145 #53B845 #458CB8
square
#AA45B8 #B87145 #53B845 #458CB8
split-complementary
#AA45B8 #8CB845 #45B871
monochromatic
#58245F #81348B #AA45B8 #BF71CA #D39DDA

Accessibility & contrast

On white

4.94
#AA45B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AA45B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45B8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45B8#FFFFFF#000000##FFFFFF
##AA45B81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C69BB
Deuteranopia (green-blind)
#5474B5
Tritanopia (blue-blind)
#AC5778
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #aa45b8;
/* rgb */ color: rgb(170, 69, 184);
/* oklch */ color: oklch(57.0% 0.193 322.6);
Tailwind
colors: {
  custom: {
    50: '#c67fce',
    500: '#aa45b8',
    950: '#000000',
  },
}
SCSS
$custom: #aa45b8;
$custom-light: #c67fce;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45b8",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 292.696,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57033,
    "c": 0.19253,
    "h": 322.6
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#AA45B8
secondary
#99C792
accent
#D55363
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #AA45B8

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

Preview Lab → · Contrast checker → · Palette generator →

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