#AA45C7#AA45C7

#AA45C7 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.206 H 317.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AA45C7
RGBrgb(170, 69, 199)
HSLhsl(287, 54%, 53%)
HSVhsv(287, 65%, 78%)
CMYKcmyk(14.6%, 65.3%, 0%, 22%)
CIE-LABlab(48.17, 60.07, -49.38)
CIE-LCHlch(48.17, 77.76, 320.58°)
OKLaboklab(57.92% 0.1531 -0.1383)
OKLCHoklch(57.92% 0.206 317.9)
XYZxyz(29.0130, 16.9270, 55.7607)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45C7 #62C745
analogous
#6945C7 #AA45C7 #C745A3
triadic
#AA45C7 #C7AA45 #45C7AA
tetradic
#AA45C7 #C76945 #62C745 #45A3C7
square
#AA45C7 #C76945 #62C745 #45A3C7
split-complementary
#AA45C7 #A3C745 #45C769
monochromatic
#5E2270 #86309F #AA45C7 #BF74D5 #D5A3E3

Accessibility & contrast

On white

4.79
#AA45C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AA45C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45C7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45C7#FFFFFF#000000##FFFFFF
##AA45C71.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146CCB
Deuteranopia (green-blind)
#4A76C4
Tritanopia (blue-blind)
#A95C80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa45c7;
/* rgb */ color: rgb(170, 69, 199);
/* oklch */ color: oklch(57.9% 0.206 317.9);
Tailwind
colors: {
  custom: {
    50: '#c780d9',
    500: '#aa45c7',
    950: '#000000',
  },
}
SCSS
$custom: #aa45c7;
$custom-light: #c780d9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45c7",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 286.615,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.20631,
    "h": 317.9
  },
  "luminance": 0.16926
}

Semantic roles & 50–950 ramp

primary
#AA45C7
secondary
#A4D098
accent
#DD4B6B
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #AA45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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