#AA45AF#AA45AF

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

Color values

HEX#AA45AF
RGBrgb(170, 69, 175)
HSLhsl(297, 43%, 48%)
HSVhsv(297, 61%, 69%)
CMYKcmyk(2.9%, 60.6%, 0%, 31.4%)
CIE-LABlab(46.84, 55.54, -37.50)
CIE-LCHlch(46.84, 67.01, 325.97°)
OKLaboklab(56.53% 0.1525 -0.1037)
OKLCHoklch(56.53% 0.184 325.8)
XYZxyz(26.4430, 15.8990, 42.2251)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45AF #4AAF45
analogous
#7545AF #AA45AF #AF457F
triadic
#AA45AF #AFAA45 #45AFAA
tetradic
#AA45AF #AF7545 #4AAF45 #457FAF
square
#AA45AF #AF7545 #4AAF45 #457FAF
split-complementary
#AA45AF #7FAF45 #45AF75
monochromatic
#552257 #7F3483 #AA45AF #C16CC5 #D398D6

Accessibility & contrast

On white

5.02
#AA45AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AA45AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45AF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45AF#FFFFFF#000000##FFFFFF
##AA45AF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#5A73AC
Tritanopia (blue-blind)
#AE5374
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa45af;
/* rgb */ color: rgb(170, 69, 175);
/* oklch */ color: oklch(56.5% 0.184 325.8);
Tailwind
colors: {
  custom: {
    50: '#c67fc7',
    500: '#aa45af',
    950: '#000000',
  },
}
SCSS
$custom: #aa45af;
$custom-light: #c67fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45af",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 297.17,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56532,
    "c": 0.18447,
    "h": 325.8
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#AA45AF
secondary
#90C28D
accent
#D3555B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AA45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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