#AA45AE#AA45AE

#AA45AE is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.5% C 0.184 H 326.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AA45AE
RGBrgb(170, 69, 174)
HSLhsl(298, 43%, 48%)
HSVhsv(298, 60%, 68%)
CMYKcmyk(2.3%, 60.3%, 0%, 31.8%)
CIE-LABlab(46.79, 55.36, -36.99)
CIE-LCHlch(46.79, 66.58, 326.25°)
OKLaboklab(56.48% 0.1525 -0.1023)
OKLCHoklch(56.48% 0.184 326.1)
XYZxyz(26.3451, 15.8599, 41.7098)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45AE #49AE45
analogous
#7545AE #AA45AE #AE457E
triadic
#AA45AE #AEAA45 #45AEAA
tetradic
#AA45AE #AE7545 #49AE45 #457EAE
square
#AA45AE #AE7545 #49AE45 #457EAE
split-complementary
#AA45AE #7EAE45 #45AE75
monochromatic
#542256 #7F3482 #AA45AE #C16CC5 #D497D6

Accessibility & contrast

On white

5.03
#AA45AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AA45AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45AE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45AE#FFFFFF#000000##FFFFFF
##AA45AE1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#5A73AB
Tritanopia (blue-blind)
#AE5373
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa45ae;
/* rgb */ color: rgb(170, 69, 174);
/* oklch */ color: oklch(56.5% 0.184 326.1);
Tailwind
colors: {
  custom: {
    50: '#c67fc6',
    500: '#aa45ae',
    950: '#000000',
  },
}
SCSS
$custom: #aa45ae;
$custom-light: #c67fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45ae",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 297.714,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56477,
    "c": 0.18358,
    "h": 326.1
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#AA45AE
secondary
#8FC28D
accent
#D3555A
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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