#AA45BD#AA45BD

#AA45BD is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.197 H 321.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AA45BD
RGBrgb(170, 69, 189)
HSLhsl(291, 48%, 51%)
HSVhsv(291, 63%, 74%)
CMYKcmyk(10.1%, 63.5%, 0%, 25.9%)
CIE-LABlab(47.60, 58.14, -44.49)
CIE-LCHlch(47.60, 73.21, 322.57°)
OKLaboklab(57.32% 0.1531 -0.1241)
OKLCHoklch(57.32% 0.197 321)
XYZxyz(27.8899, 16.4778, 49.8457)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA45BD #58BD45
analogous
#6E45BD #AA45BD #BD4594
triadic
#AA45BD #BDAA45 #45BDAA
tetradic
#AA45BD #BD6E45 #58BD45 #4594BD
square
#AA45BD #BD6E45 #58BD45 #4594BD
split-complementary
#AA45BD #94BD45 #45BD6E
monochromatic
#5A2464 #823491 #AA45BD #BF72CD #D39FDD

Accessibility & contrast

On white

4.89
#AA45BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AA45BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA45BD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA45BD#FFFFFF#000000##FFFFFF
##AA45BD1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#5175BA
Tritanopia (blue-blind)
#AB597B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa45bd;
/* rgb */ color: rgb(170, 69, 189);
/* oklch */ color: oklch(57.3% 0.197 321.0);
Tailwind
colors: {
  custom: {
    50: '#c67fd1',
    500: '#aa45bd',
    950: '#000000',
  },
}
SCSS
$custom: #aa45bd;
$custom-light: #c67fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa45bd",
  "rgb": {
    "r": 170,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 290.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.19708,
    "h": 321
  },
  "luminance": 0.16476
}

Semantic roles & 50–950 ramp

primary
#AA45BD
secondary
#9DCA94
accent
#D75166
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AA45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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