#AA45C2#AA45C2

#AA45C2 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.6% C 0.202 H 319.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AA45C2
RGBrgb(170, 69, 194)
HSLhsl(288, 51%, 52%)
HSVhsv(288, 64%, 76%)
CMYKcmyk(12.4%, 64.4%, 0%, 23.9%)
CIE-LABlab(47.88, 59.10, -46.95)
CIE-LCHlch(47.88, 75.48, 321.54°)
OKLaboklab(57.62% 0.1532 -0.1312)
OKLCHoklch(57.62% 0.202 319.4)
XYZxyz(28.4420, 16.6986, 52.7535)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45C2 #5DC245
analogous
#6C45C2 #AA45C2 #C2459C
triadic
#AA45C2 #C2AA45 #45C2AA
tetradic
#AA45C2 #C26C45 #5DC245 #459CC2
square
#AA45C2 #C26C45 #5DC245 #459CC2
split-complementary
#AA45C2 #9CC245 #45C26C
monochromatic
#5C236A #843298 #AA45C2 #BF73D1 #D4A1E0

Accessibility & contrast

On white

4.84
#AA45C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AA45C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45C2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45C2#FFFFFF#000000##FFFFFF
##AA45C21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6BC6
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#AA5B7E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa45c2;
/* rgb */ color: rgb(170, 69, 194);
/* oklch */ color: oklch(57.6% 0.202 319.4);
Tailwind
colors: {
  custom: {
    50: '#c780d5',
    500: '#aa45c2',
    950: '#000000',
  },
}
SCSS
$custom: #aa45c2;
$custom-light: #c780d5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45c2",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 288.48,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.20168,
    "h": 319.4
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#AA45C2
secondary
#A0CD96
accent
#DA4E69
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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