#AA45C5#AA45C5

#AA45C5 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.204 H 318.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AA45C5
RGBrgb(170, 69, 197)
HSLhsl(287, 52%, 52%)
HSVhsv(287, 65%, 77%)
CMYKcmyk(13.7%, 65%, 0%, 22.7%)
CIE-LABlab(48.05, 59.68, -48.41)
CIE-LCHlch(48.05, 76.84, 320.95°)
OKLaboklab(57.8% 0.1531 -0.1355)
OKLCHoklch(57.8% 0.204 318.5)
XYZxyz(28.7824, 16.8348, 54.5458)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45C5 #60C545
analogous
#6A45C5 #AA45C5 #C545A0
triadic
#AA45C5 #C5AA45 #45C5AA
tetradic
#AA45C5 #C56A45 #60C545 #45A0C5
square
#AA45C5 #C56A45 #60C545 #45A0C5
split-complementary
#AA45C5 #A0C545 #45C56A
monochromatic
#5E226D #85319C #AA45C5 #BF74D4 #D5A2E2

Accessibility & contrast

On white

4.81
#AA45C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#AA45C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45C5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45C5#FFFFFF#000000##FFFFFF
##AA45C51.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196BC9
Deuteranopia (green-blind)
#4C75C2
Tritanopia (blue-blind)
#AA5C7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa45c5;
/* rgb */ color: rgb(170, 69, 197);
/* oklch */ color: oklch(57.8% 0.204 318.5);
Tailwind
colors: {
  custom: {
    50: '#c780d7',
    500: '#aa45c5',
    950: '#000000',
  },
}
SCSS
$custom: #aa45c5;
$custom-light: #c780d7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45c5",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 287.344,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57798,
    "c": 0.20444,
    "h": 318.5
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#AA45C5
secondary
#A3CF97
accent
#DC4C6A
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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