#AA45C1#AA45C1

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

Color values

HEX#AA45C1
RGBrgb(170, 69, 193)
HSLhsl(289, 50%, 51%)
HSVhsv(289, 64%, 76%)
CMYKcmyk(11.9%, 64.2%, 0%, 24.3%)
CIE-LABlab(47.82, 58.90, -46.46)
CIE-LCHlch(47.82, 75.02, 321.74°)
OKLaboklab(57.56% 0.1532 -0.1298)
OKLCHoklch(57.56% 0.201 319.7)
XYZxyz(28.3301, 16.6539, 52.1640)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45C1 #5CC145
analogous
#6C45C1 #AA45C1 #C1459A
triadic
#AA45C1 #C1AA45 #45C1AA
tetradic
#AA45C1 #C16C45 #5CC145 #459AC1
square
#AA45C1 #C16C45 #5CC145 #459AC1
split-complementary
#AA45C1 #9AC145 #45C16C
monochromatic
#5C2369 #843297 #AA45C1 #BF73D0 #D4A1E0

Accessibility & contrast

On white

4.85
#AA45C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AA45C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45C1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45C1#FFFFFF#000000##FFFFFF
##AA45C11.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206BC5
Deuteranopia (green-blind)
#4F75BE
Tritanopia (blue-blind)
#AB5A7D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa45c1;
/* rgb */ color: rgb(170, 69, 193);
/* oklch */ color: oklch(57.6% 0.201 319.7);
Tailwind
colors: {
  custom: {
    50: '#c780d4',
    500: '#aa45c1',
    950: '#000000',
  },
}
SCSS
$custom: #aa45c1;
$custom-light: #c780d4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45c1",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 288.871,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57558,
    "c": 0.20075,
    "h": 319.7
  },
  "luminance": 0.16653
}

Semantic roles & 50–950 ramp

primary
#AA45C1
secondary
#A0CC96
accent
#DA4E68
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AA45C1

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

Preview Lab → · Contrast checker → · Palette generator →

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